mirror of
https://github.com/wukko/cobalt.git
synced 2024-11-17 22:00:00 +00:00
front: fix picker padding and content alignment
This commit is contained in:
parent
b0d1840087
commit
1345964280
1 changed files with 7 additions and 1 deletions
|
@ -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;
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue