[Nitpick] Adjust vertical spacing in segmented-control-item

This small fix adjusts vertical spacing for the text inside `segmented-control-item`. Padding before: `0 15 4 15`, padding after: `4 15`.
The `.segmented-control-item` class is only used on the stats page, so there won't be any unwanted side-effects. Since the same variable is used for top and bottom, changes to the `--li-bottom` variable won't break vertical alignment.
This commit is contained in:
Goulven Champenois 2024-03-15 10:17:25 +01:00 committed by GitHub
parent 4e023ebed0
commit 561e050d47
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -90,6 +90,7 @@ $segmented-control-item-border-radius: 2 * $default-space;
font-size: 15px;
border: 2px solid $blue-france-700;
margin-right: -2px;
padding-top: var(--li-bottom);
padding-left: $segmented-control-item-horizontal-padding;
padding-right: $segmented-control-item-horizontal-padding;
color: $blue-france-700;