Skip to content

Commit ede9f55

Browse files
committed
Reduce messagedialog buttonbox size
1 parent d6a43f7 commit ede9f55

File tree

1 file changed

+17
-19
lines changed

1 file changed

+17
-19
lines changed

light/gtk-3.0/_common.scss

Lines changed: 17 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -3776,27 +3776,25 @@ messagedialog { // Message Dialog styling
37763776
border-bottom-right-radius: 9px;
37773777
}
37783778

3779-
buttonbox {
3779+
.dialog-action-area {
37803780
padding: 0px;
3781-
button { padding: 6px; }
3782-
}
3783-
3784-
.dialog-action-area button {
3785-
padding: 10px 14px; // labels are not vertically centered on message dialog, this is a workaround
3786-
border-radius: 0;
3787-
border-left-style: solid;
3788-
border-right-style: none;
3789-
border-bottom-style: none;
3790-
3791-
&:first-child{
3792-
border-left-style: none;
3793-
border-bottom-left-radius: 7px;
3794-
-gtk-outline-bottom-left-radius: 5px;
3795-
}
3781+
button {
3782+
padding: 3px;
3783+
border-radius: 0px;
3784+
border-left-style: solid;
3785+
border-right-style: none;
3786+
border-bottom-style: none;
3787+
3788+
&:first-child{
3789+
border-left-style: none;
3790+
border-bottom-left-radius: 7px;
3791+
-gtk-outline-bottom-left-radius: 5px;
3792+
}
37963793

3797-
&:last-child {
3798-
border-bottom-right-radius: 7px;
3799-
-gtk-outline-bottom-right-radius: 5px;
3794+
&:last-child {
3795+
border-bottom-right-radius: 7px;
3796+
-gtk-outline-bottom-right-radius: 5px;
3797+
}
38003798
}
38013799
}
38023800
}

0 commit comments

Comments
 (0)