Skip to content

Commit 023bd6f

Browse files
megaxkhurshid-alam
authored andcommitted
[Gtk-3.20] Optimized notebook padding
1 parent 7ac68f6 commit 023bd6f

File tree

1 file changed

+11
-5
lines changed

1 file changed

+11
-5
lines changed

src/gtk-3.20/scss/widgets/_notebook.scss

Lines changed: 11 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
> box,
156156
> label,
157157
> widget > box {
158-
padding: ($spacing + 2) ($spacing * 3); // top/bottom | left/right
158+
padding: ($spacing - 1px) ($spacing * 2); // top/bottom | left/right
159159
border-width: 2px;
160160
border-style: solid;
161161
border-color: transparent;
@@ -166,7 +166,7 @@
166166
> box,
167167
> label,
168168
> widget > box {
169-
padding: ($spacing + 2) ($spacing * 2) ($spacing + 2) ($spacing * 3); // top | right | bottom | left
169+
padding: ($spacing - 1px) ($spacing * 2) ($spacing - 1px) ($spacing * 3); // top | right | bottom | left
170170
}
171171
}
172172

@@ -322,7 +322,9 @@
322322
border-left-color: $selected_bg_color;
323323
outline: none;
324324

325-
> box, > label {
325+
> box,
326+
> label,
327+
> widget > box {
326328
border-left-color: $selected_bg_color;
327329
}
328330

@@ -352,7 +354,9 @@
352354
border-top-color: $selected_bg_color;
353355
outline: none;
354356

355-
> box, > label {
357+
> box,
358+
> label,
359+
> widget > box {
356360
border-top-color: $selected_bg_color;
357361
}
358362

@@ -382,7 +386,9 @@
382386
border-right-color: $selected_bg_color;
383387
outline: none;
384388

385-
> box, > label {
389+
> box,
390+
> label,
391+
> widget > box {
386392
border-right-color: $selected_bg_color;
387393
}
388394

0 commit comments

Comments
 (0)