front: fix picker padding and content alignment

This commit is contained in:
wukko 2024-01-28 14:15:11 +06:00
parent b0d1840087
commit 1345964280

View file

@ -743,11 +743,13 @@ button:active,
} }
#picker-holder { #picker-holder {
display: flex; display: flex;
justify-content: space-between; justify-content: start;
flex-wrap: wrap; flex-wrap: wrap;
align-content: space-around; align-content: space-around;
padding-top: calc(env(safe-area-inset-top)/2 + 7.6rem); padding-top: calc(env(safe-area-inset-top)/2 + 7.6rem);
padding-bottom: calc(env(safe-area-inset-bottom)/2 + 4.8rem); padding-bottom: calc(env(safe-area-inset-bottom)/2 + 4.8rem);
padding-left: 0.2rem;
padding-right: 0.2rem;
} }
.imageBlock { .imageBlock {
width: 100%; width: 100%;
@ -1153,6 +1155,10 @@ button:active,
.close-error { .close-error {
bottom: 3rem; bottom: 3rem;
} }
#picker-holder {
padding-left: 0;
padding-right: 0;
}
#picker-holder::-webkit-scrollbar { #picker-holder::-webkit-scrollbar {
display: none; display: none;
} }