mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 01:23:52 +00:00
fix extra pixels under icons in buttons
Since the img is in a span, it was treated as text and added 4 pixels on the bottom for the descender height. By using `display: block;` it won't be treated as text. Fixes pybricks/pybricks-code#268
This commit is contained in:
@@ -48,6 +48,10 @@ body {
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.#{$ns}-button-text > img {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.#{$ns}-form-group > .#{$ns}-label {
|
||||
font-weight: bolder;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user