fix(settings modal): snap bitmap controls to whole pixels

This commit is contained in:
Tommaso Casaburi
2026-04-15 14:24:07 +07:00
parent 7bf0888221
commit d87be159e2
@@ -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;
} }