Fix for Issue #26

This commit is contained in:
Random Penguin 2025-04-04 16:11:17 -05:00
parent 6413ddd91b
commit b82887ea99

View file

@ -1,8 +1,8 @@
/* /*
Name : Bookface Dark Name : Bookface Dark
Version : 1.6.1 Version : 1.6.2
Licence : AGPL 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 Author : Pygoscelis Papua @randompenguin@friendica.world feb @feb@loma.ml Phil @phil@loma.ml
*/ */
@ -2071,6 +2071,13 @@ body.mod-settings #delegation .contact-block-img {
body.mod-profile .vcard + #sidebar-photos-albums::before { body.mod-profile .vcard + #sidebar-photos-albums::before {
content: ''; 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 */ /* only seen on your own Contacts Page */
@supports not selector(:has(*)){ @supports not selector(:has(*)){
body.mod-contact #peoplefind-sidebar::before { body.mod-contact #peoplefind-sidebar::before {
@ -2094,6 +2101,12 @@ body.mod-settings #delegation .contact-block-img {
} }
} }
@supports selector(:has(*)){ @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 { body.mod-contact aside:has(#peoplefind-sidebar) + #content {
margin-top: 0; margin-top: 0;
} }