mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2024-11-22 15:40:19 +00:00
LibWeb: Scale checkbox image instead of repeating on large checkboxes
This commit is contained in:
parent
def08bcfcf
commit
3c49e24977
Notes:
sideshowbarker
2024-07-16 22:40:04 +09:00
Author: https://github.com/srikavin Commit: https://github.com/SerenityOS/serenity/commit/3c49e24977 Pull-request: https://github.com/SerenityOS/serenity/pull/17940 Reviewed-by: https://github.com/AtkinsSJ ✅
1 changed files with 2 additions and 0 deletions
|
@ -70,6 +70,8 @@ input[type=checkbox] {
|
||||||
height: 12px;
|
height: 12px;
|
||||||
margin: 2px;
|
margin: 2px;
|
||||||
border: 1px solid -libweb-palette-threed-shadow1;
|
border: 1px solid -libweb-palette-threed-shadow1;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-size: cover;
|
||||||
}
|
}
|
||||||
|
|
||||||
input[type=checkbox]:checked {
|
input[type=checkbox]:checked {
|
||||||
|
|
Loading…
Reference in a new issue