mirror of
https://github.com/bitsocialnet/5chan.git
synced 2026-08-03 07:41:04 +02:00
fix(settings modal): snap bitmap controls to whole pixels
This commit is contained in:
@@ -34,7 +34,7 @@
|
|||||||
top: 25px;
|
top: 25px;
|
||||||
left: 50%;
|
left: 50%;
|
||||||
transform: translateX(-50%);
|
transform: translateX(-50%);
|
||||||
width: 394px;
|
width: 395px;
|
||||||
height: auto;
|
height: auto;
|
||||||
max-height: 80%;
|
max-height: 80%;
|
||||||
overflow-y: auto;
|
overflow-y: auto;
|
||||||
@@ -78,11 +78,12 @@
|
|||||||
width: 18px;
|
width: 18px;
|
||||||
height: 18px;
|
height: 18px;
|
||||||
display: block;
|
display: block;
|
||||||
background-size: 100%;
|
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 5px;
|
top: 5px;
|
||||||
image-rendering: pixelated;
|
image-rendering: pixelated;
|
||||||
background-image: var(--settings-modal-close-button-background-image);
|
background-image: var(--settings-modal-close-button-background-image);
|
||||||
|
background-position: center;
|
||||||
|
background-repeat: no-repeat;
|
||||||
}
|
}
|
||||||
|
|
||||||
.expandAllSettings {
|
.expandAllSettings {
|
||||||
@@ -151,7 +152,7 @@
|
|||||||
|
|
||||||
@media (max-width: 640px) {
|
@media (max-width: 640px) {
|
||||||
.settingsModal {
|
.settingsModal {
|
||||||
width: 350px !important;
|
width: 351px !important;
|
||||||
max-height: 60% !important;
|
max-height: 60% !important;
|
||||||
left: calc(50% - 2px) !important;
|
left: calc(50% - 2px) !important;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user