From 91644563bb609f400085f2ac49f68222a1572ae5 Mon Sep 17 00:00:00 2001 From: AnhQuanTrl Date: Fri, 20 Sep 2024 11:25:07 +0700 Subject: [PATCH] fix: add back separator above the navbar --- .editorconfig | 9 +++++++++ chrome/EdgyArc-fr/sidebery.css | 9 ++++++--- 2 files changed, 15 insertions(+), 3 deletions(-) create mode 100644 .editorconfig diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 0000000..e98fc68 --- /dev/null +++ b/.editorconfig @@ -0,0 +1,9 @@ +root = true + +[*] +end_of_line = lf +insert_final_newline = true + +[*.css] +indent_style = space +indent_size = 2 diff --git a/chrome/EdgyArc-fr/sidebery.css b/chrome/EdgyArc-fr/sidebery.css index c6f4493..5d07ee7 100644 --- a/chrome/EdgyArc-fr/sidebery.css +++ b/chrome/EdgyArc-fr/sidebery.css @@ -346,13 +346,16 @@ } } /* Add separator before new tab button. */ + @media not (-moz-bool-pref:"af.sidebery.top-new-tab-btn") { + &::before { + border-top: 1px solid var(--separator-color) !important; + } + } &::before { width: calc(100% - var(--tabs-margin)*2) !important; inset-inline: auto !important; top: 0 !important; - @media not (-moz-bool-pref:"af.sidebery.top-new-tab-btn") { - border-top: 1px solid var(--separator-color) !important; } box-shadow: none !important; } @@ -743,4 +746,4 @@ }/*end of root*/ -} \ No newline at end of file +}