feat(web): show image preview in file view menu
This commit is contained in:
@@ -58,6 +58,24 @@ main {
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
#menu-file-view {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
border-radius: 0;
|
||||
overflow-x: hidden;
|
||||
overflow-y: scroll;
|
||||
}
|
||||
|
||||
#preview {
|
||||
max-width: 100%;
|
||||
max-height: 90vh;
|
||||
object-fit: contain;
|
||||
object-position: center;
|
||||
}
|
||||
|
||||
form {
|
||||
flex: 1 1 auto;
|
||||
padding: 2vw 2vw;
|
||||
@@ -79,6 +97,14 @@ form {
|
||||
overflow-x: hidden;
|
||||
}
|
||||
|
||||
#menu-file-view form {
|
||||
min-height: initial;
|
||||
}
|
||||
|
||||
#menu-file-view .list {
|
||||
height: 50vh;
|
||||
}
|
||||
|
||||
.list:after {
|
||||
content: "";
|
||||
flex: auto;
|
||||
|
||||
Reference in New Issue
Block a user