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