perf(web): improve menu sizing
This commit is contained in:
parent
6cd7bb73fe
commit
7f5daee11e
@ -41,7 +41,7 @@ main {
|
|||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
left: 0;
|
left: 0;
|
||||||
padding: 10px;
|
padding: 0;
|
||||||
background-color: #0008;
|
background-color: #0008;
|
||||||
}
|
}
|
||||||
|
|
||||||
@ -52,18 +52,18 @@ main {
|
|||||||
background-color: #eee;
|
background-color: #eee;
|
||||||
box-shadow: 0 0 0.5vw black;
|
box-shadow: 0 0 0.5vw black;
|
||||||
border-radius: 16px;
|
border-radius: 16px;
|
||||||
width: 100%;
|
margin: 10px;
|
||||||
|
width: calc(100% - 20px);
|
||||||
|
max-width: 120vmin;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
transition: 0.3s;
|
transition: 0.3s;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
#menu-file-view {
|
#menu-file-view {
|
||||||
position: absolute;
|
margin: 0;
|
||||||
top: 0;
|
width: 100%;
|
||||||
right: 0;
|
max-width: 120vmin;
|
||||||
bottom: 0;
|
|
||||||
left: 0;
|
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
overflow-x: hidden;
|
overflow-x: hidden;
|
||||||
overflow-y: scroll;
|
overflow-y: scroll;
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user