Skip to content

Commit 0d1911c

Browse files
committed
fix: button grp
1 parent 3eb643b commit 0d1911c

File tree

1 file changed

+8
-4
lines changed

1 file changed

+8
-4
lines changed

private/sass/button_group.scss

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -19,8 +19,8 @@ form .form-row div.frontend-button-group.frontend-button-group-block {
1919
form .form-row div.frontend-button-group {
2020
label.btn-grp {
2121
margin: 3px;
22-
height: 30px;
23-
line-height: calc(30px - 0.15rem);
22+
padding-block: 5px;
23+
line-height: 24px;
2424

2525
&:not(.btn) {
2626
padding: 4px 7px;
@@ -74,14 +74,18 @@ form .form-row div.frontend-button-group {
7474
background: rgba(var(--bs-secondary-rgb), calc(var(--fe-value) / 100));
7575
}
7676

77+
input[property="link-size"] + label.btn-grp {
78+
height: fit-content;
79+
}
80+
7781
input[property="link-size"][value="btn-lg"] + label.btn-grp {
78-
padding: 0.5rem 1rem !important;
82+
padding: 0.5rem 1.5rem !important;
7983
font-size: 1.25rem;
8084
border-radius: 0.3rem;
8185
}
8286

8387
input[property="link-size"][value="btn-sm"] + label.btn-grp {
84-
padding: 0.25rem 0.5rem !important;
88+
padding: 0.05rem 0.5rem !important;
8589
font-size: 0.875rem;
8690
border-radius: 0.2rem;
8791
}

0 commit comments

Comments
 (0)