From 4e607ba0f4b77365caa2edfaf459076ae5daf43a Mon Sep 17 00:00:00 2001 From: Riyyi Date: Mon, 20 Jul 2020 23:30:04 +0200 Subject: [PATCH] Also change gitlab tab width to 4 --- .../firefox/rick.profile/chrome/userContent.css | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/.mozilla/firefox/rick.profile/chrome/userContent.css b/.mozilla/firefox/rick.profile/chrome/userContent.css index 38f408e..243926c 100644 --- a/.mozilla/firefox/rick.profile/chrome/userContent.css +++ b/.mozilla/firefox/rick.profile/chrome/userContent.css @@ -26,7 +26,18 @@ --tab-size: 4; } - .blob-code-inner, pre, code, tt { + .blob, pre, code, tt { + -moz-tab-size: var(--tab-size); + tab-size: var(--tab-size); + } +} + +@-moz-document domain("gitlab.com") { + :root{ + --tab-size: 4; + } + + .blob-viewer, pre, code, tt { -moz-tab-size: var(--tab-size); tab-size: var(--tab-size); }