From 0f7ff221a87980c2284fbf6d282a601cdd89ecba Mon Sep 17 00:00:00 2001 From: Mate Date: Fri, 11 Jun 2021 07:22:27 +0200 Subject: Tab_alignment_fix_for_yaru_green --- desktop-themes/YaruGreen/gtk-3.0/_common.scss | 16 ++++++++-------- desktop-themes/YaruGreen/gtk-3.0/gtk.css | 12 ++++++------ 2 files changed, 14 insertions(+), 14 deletions(-) diff --git a/desktop-themes/YaruGreen/gtk-3.0/_common.scss b/desktop-themes/YaruGreen/gtk-3.0/_common.scss index 46e270e3..8c472678 100644 --- a/desktop-themes/YaruGreen/gtk-3.0/_common.scss +++ b/desktop-themes/YaruGreen/gtk-3.0/_common.scss @@ -2671,20 +2671,20 @@ notebook { &.top, &.bottom { tabs { - padding-left: 1px; - padding-right: 1px; + padding-left: 0px; + padding-right: 0px; &:not(:only-child) { margin-left: 1px; margin-right: 1px; - &:first-child { margin-left: -1px; } + &:first-child { margin-left: 0px; } &:last-child { margin-right: -1px; } } tab { - margin-left: 1px; - margin-right: 1px; + margin-left: 0px; + margin-right: 0px; &.reorderable-page { border-style: none solid; } } @@ -2695,18 +2695,18 @@ notebook { &.right { tabs { padding-top: 0px; - padding-bottom: 1px; + padding-bottom: 0px; &:not(:only-child) { margin-top: 0px; - margin-bottom: 1px; + margin-bottom: 0px; &:first-child { margin-top: 0px; } &:last-child { margin-bottom: -1px; } } tab { - margin-top: 1px; + margin-top: 0px; margin-bottom: 0px; &.reorderable-page { border-style: solid none; } diff --git a/desktop-themes/YaruGreen/gtk-3.0/gtk.css b/desktop-themes/YaruGreen/gtk-3.0/gtk.css index 1291226f..fa7bbe69 100644 --- a/desktop-themes/YaruGreen/gtk-3.0/gtk.css +++ b/desktop-themes/YaruGreen/gtk-3.0/gtk.css @@ -965,27 +965,27 @@ notebook > header tab button.flat:last-child { margin-left: 4px; margin-right: - notebook > header tab button.flat:first-child { margin-left: -4px; margin-right: 4px; } -notebook > header.top tabs, notebook > header.bottom tabs { padding-left: 1px; padding-right: 1px; } +notebook > header.top tabs, notebook > header.bottom tabs { padding-left: 0px; padding-right: 0px; } notebook > header.top tabs:not(:only-child), notebook > header.bottom tabs:not(:only-child) { margin-left: 1px; margin-right: 1px; } -notebook > header.top tabs:not(:only-child):first-child, notebook > header.bottom tabs:not(:only-child):first-child { margin-left: -1px; } +notebook > header.top tabs:not(:only-child):first-child, notebook > header.bottom tabs:not(:only-child):first-child { margin-left: 0px; } notebook > header.top tabs:not(:only-child):last-child, notebook > header.bottom tabs:not(:only-child):last-child { margin-right: -1px; } -notebook > header.top tabs tab, notebook > header.bottom tabs tab { margin-left: 1px; margin-right: 1px; } +notebook > header.top tabs tab, notebook > header.bottom tabs tab { margin-left: 0px; margin-right: 0px; } notebook > header.top tabs tab.reorderable-page, notebook > header.bottom tabs tab.reorderable-page { border-style: none solid; } -notebook > header.left tabs, notebook > header.right tabs { padding-top: 0px; padding-bottom: 1px; } +notebook > header.left tabs, notebook > header.right tabs { padding-top: 0px; padding-bottom: 0px; } -notebook > header.left tabs:not(:only-child), notebook > header.right tabs:not(:only-child) { margin-top: 0px; margin-bottom: 1px; } +notebook > header.left tabs:not(:only-child), notebook > header.right tabs:not(:only-child) { margin-top: 0px; margin-bottom: 0px; } notebook > header.left tabs:not(:only-child):first-child, notebook > header.right tabs:not(:only-child):first-child { margin-top: 0px; } notebook > header.left tabs:not(:only-child):last-child, notebook > header.right tabs:not(:only-child):last-child { margin-bottom: -1px; } -notebook > header.left tabs tab, notebook > header.right tabs tab { margin-top: 1px; margin-bottom: 0px; } +notebook > header.left tabs tab, notebook > header.right tabs tab { margin-top: 0px; margin-bottom: 0px; } notebook > header.left tabs tab.reorderable-page, notebook > header.right tabs tab.reorderable-page { border-style: solid none; } -- cgit v1.2.1