diff --git a/chrome/tabs_below_content.css b/chrome/tabs_below_content.css index 30295a8..3ab8078 100644 --- a/chrome/tabs_below_content.css +++ b/chrome/tabs_below_content.css @@ -36,8 +36,16 @@ linux_gtk_window_control_patch.css #titlebar{ -moz-appearance: none !important; } } /* Move tabs below content */ -:root:not([inDOMFullscreen]) #browser-bottombox{ margin-bottom: calc(var(--tab-min-height) + 2 * var(--tab-block-margin,0px)) } -:root[inFullscreen]:not([inDOMFullscreen]) #browser-bottombox{ margin-bottom: 1px; } +#main-window > body::after{ + content: ""; + display: -moz-box; +} +#main-window:not([inFullscreen]) > body::after{ + margin-bottom: calc(var(--tab-min-height) + 2 * var(--tab-block-margin,0px)); +} +#main-window[inFullscreen]:not([inDOMFullscreen]) > body::after{ + margin-bottom: 1px; +} #TabsToolbar{ position: fixed; diff --git a/chrome/vertical_bookmarks_toolbar.css b/chrome/vertical_bookmarks_toolbar.css index 9eae7fa..f1ccdf0 100644 --- a/chrome/vertical_bookmarks_toolbar.css +++ b/chrome/vertical_bookmarks_toolbar.css @@ -55,11 +55,13 @@ See the above repository for updates as well as full license text. */ #browser, #browser-bottombox, + #main-window > body::after, /* This selector is for compatibility with tabs_below_content.css */ #customization-container{ margin-left: var(--uc-vertical-toolbar-width,0); } :root:is([chromehidden~="toolbar"],[sizemode="fullscreen"]) > body > #browser, :root:is([chromehidden~="toolbar"],[sizemode="fullscreen"]) > body > #browser-bottombox, + #main-window:is([chromehidden~="toolbar"],[sizemode="fullscreen"]) > body::after, :root:is([chromehidden~="toolbar"],[sizemode="fullscreen"]) > body > #customization-container{ margin-left: 0; } diff --git a/content/standalone_image_page_mods.css b/content/standalone_image_page_mods.css index 73999b4..c482fe9 100644 --- a/content/standalone_image_page_mods.css +++ b/content/standalone_image_page_mods.css @@ -3,7 +3,6 @@ See the above repository for updates as well as full license text. */ @-moz-document media-document(image){ @media not print { - :root{ background-color: #232325 !important; /* set solid color background */ background-image: none !important; /* remove default background */