Make cube list scrollable on phones
This commit is contained in:
parent
e25262df0a
commit
5808364992
@ -28,6 +28,7 @@
|
||||
dialog {
|
||||
width: 540px;
|
||||
min-width: min(370px, 100%);
|
||||
max-height: calc(100% - 50px);
|
||||
height: auto;
|
||||
background-color: var(--color-ui);
|
||||
color: inherit;
|
||||
|
@ -123,6 +123,23 @@
|
||||
#cubes_list {
|
||||
padding-top: 1px;
|
||||
}
|
||||
@media (max-device-width: 640px) {
|
||||
#cubes_list > div.vue-tree {
|
||||
width: calc(100% - 25px);
|
||||
}
|
||||
ul#cubes_list::before {
|
||||
display: block;
|
||||
content: "\f338";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
font-family: 'Font Awesome 5 Free';
|
||||
font-weight: 900;
|
||||
font-size: 28px;
|
||||
opacity: 0.2;
|
||||
pointer-events: none;
|
||||
right: 6px;
|
||||
}
|
||||
}
|
||||
#cubes_list > div.vue-tree > ul > li > *:not(ul) {
|
||||
display: none;
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user