Context menu style improvements + mobile

This commit is contained in:
James Lyne 2021-05-24 18:24:08 +01:00
parent 6531040f9d
commit 025ecf6148
2 changed files with 21 additions and 1 deletions

View File

@ -166,5 +166,26 @@ export default defineComponent({
padding: 0.5rem;
min-width: 15rem;
max-width: 22.5rem;
::v-deep(.world) {
padding: 0.2rem 0 0.2rem 0.8rem;
margin-bottom: 0;
li {
width: 2.8rem;
height: 2.8rem;
}
}
@media screen and (max-width: 767px) {
bottom: 0.5rem;
left: 0;
right: 0;
margin: auto;
width: 90vw;
max-width: 40rem;
overflow: auto;
transform: none !important;
}
}
</style>

View File

@ -155,7 +155,6 @@ input {
display: flex;
padding: 0.8rem 0.8rem 0.7rem;
position: relative;
margin: 0 !important;
border-bottom: 0.1rem solid transparent;
> button {