From 82054decb846fb93fc1f41c59243b31f1d82854c Mon Sep 17 00:00:00 2001 From: Random Penguin <25882519-randompenguin@users.noreply.gitlab.com> Date: Fri, 4 Apr 2025 16:12:40 -0500 Subject: [PATCH] Fix for Issue #26 --- bookface_auto.css | 30 ++++++++++++++++++++++++++++-- 1 file changed, 28 insertions(+), 2 deletions(-) diff --git a/bookface_auto.css b/bookface_auto.css index 98aa4e1..480cc6a 100644 --- a/bookface_auto.css +++ b/bookface_auto.css @@ -1,8 +1,8 @@ /* Name : Bookface Auto Color Mode - Version : 1.6.1 + Version : 1.6.2 Licence : AGPL - Created on : 2 APR 2025 + Created on : 4 APR 2025 Author : Pygoscelis Papua @randompenguin@friendica.world feb @feb@loma.ml Phil @phil@loma.ml */ @@ -2080,6 +2080,13 @@ body.mod-settings #delegation .contact-block-img { body.mod-profile .vcard + #sidebar-photos-albums::before { content: ''; } + + /* This is for old browsers that do not understand either @supports or :has() */ + body.mod-contact aside, + body.mod-photos aside, + body.mod-profile aside { + position: absolute !important; + } /* only seen on your own Contacts Page */ @supports not selector(:has(*)){ body.mod-contact #peoplefind-sidebar::before { @@ -2103,6 +2110,12 @@ body.mod-settings #delegation .contact-block-img { } } @supports selector(:has(*)){ + /* for browsers that DO understand both @supports and :has() */ + body.mod-contact aside, + body.mod-photos aside, + body.mod-profile aside { + position: fixed !important; + } body.mod-contact aside:has(#peoplefind-sidebar) + #content { margin-top: 0; } @@ -5059,6 +5072,13 @@ a.tag.label, body.mod-profile .vcard + #sidebar-photos-albums::before { content: ''; } + + /* This is for old browsers that do not understand either @supports or :has() */ + body.mod-contact aside, + body.mod-photos aside, + body.mod-profile aside { + position: absolute !important; + } /* only seen on your own Contacts Page */ @supports not selector(:has(*)){ body.mod-contact #peoplefind-sidebar::before { @@ -5082,6 +5102,12 @@ a.tag.label, } } @supports selector(:has(*)){ + /* for browsers that DO understand both @supports and :has() */ + body.mod-contact aside, + body.mod-photos aside, + body.mod-profile aside { + position: fixed !important; + } body.mod-contact aside:has(#peoplefind-sidebar) + #content { margin-top: 0; }