add margin for touchsrceens

This commit is contained in:
Armand Ribault 2023-11-15 20:09:35 +01:00
parent f7b201c533
commit 9cc7eda967

View file

@ -106,7 +106,6 @@
}
#photoprism .cluster-control {
background: #2f3031;
position: absolute;
top: auto;
z-index: 2;
@ -115,11 +114,7 @@
padding: 0;
left: 4px;
right: 4px;
border-top-left-radius: 16px;
border-top-right-radius: 16px;
max-height: 90vh;
overflow: hidden;
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
transition: all 650ms cubic-bezier(0.32, 1, 0.23, 1) 0ms;
}
@ -133,7 +128,19 @@
z-index: 2;
}
@media only screen and (hover: none) {
#photoprism .cluster-control-resize-handle {
height: 24px;
top: -12px;
}
}
#photoprism .cluster-control-container {
box-shadow: rgba(99, 99, 99, 0.2) 0px 2px 8px 0px;
background: #2f3031;
border-top-left-radius: 16px;
border-top-right-radius: 16px;
overflow: hidden;
height: 100%;
}