pub / ktistec-tweaks

Tweaks for the ActivityPub server ktistec
git clone https://src.jayvii.de/pub/ktistec-tweaks.git
Home | Log | Files | Exports | Refs | Submodules | README | RSS

commit cb257de1efb046c4a689285a6b284c561935d2c5
parent 1e50d50d9bd4e1282002642ae0a96705b9b7bbb3
Author: JayVii <jayvii[AT]posteo[DOT]de>
Date:   Sun, 28 Jul 2024 13:39:09 +0200

fix: apply attachment rules to own posts as well

Diffstat:
Mcss/attachments.css | 8++++++--
Mcss/attachments.min.css | 4++--
2 files changed, 8 insertions(+), 4 deletions(-)

diff --git a/css/attachments.css b/css/attachments.css @@ -1,6 +1,8 @@ /* Try to avoid image and video clipping in feed */ .ui.feed > .event img.extra.image, -.ui.feed > .event video.extra.video +.ui.feed > .event video.extra.video, +.ui.feed > .event div.extra.text figure img.ui.image, +.ui.feed > .event div.extra.text figure vid.ui.video { width: 100%; height: auto; @@ -11,7 +13,9 @@ img.ui.extra.attachment.image, .extra.media img.ui.attachment.image, video.ui.extra.attachment.video, -.extra.media video.ui.attachment.video +.extra.media video.ui.attachment.video, +.ui.feed > .event div.extra.text figure img.ui.image, +.ui.feed > .event div.extra.text figure vid.ui.video { border-style: solid; border-width: 1px; diff --git a/css/attachments.min.css b/css/attachments.min.css @@ -1 +1 @@ -.ui.feed > .event img.extra.image,.ui.feed > .event video.extra.video{ width: 100%; height: auto; max-height: 800px;}img.ui.extra.attachment.image,.extra.media img.ui.attachment.image,video.ui.extra.attachment.video,.extra.media video.ui.attachment.video{ border-style: solid; border-width: 1px; border-color: #808080;}.lg-backdrop.in { opacity: 0.8 !important;} -\ No newline at end of file +.ui.feed > .event img.extra.image,.ui.feed > .event video.extra.video,.ui.feed > .event div.extra.text figure img.ui.image,.ui.feed > .event div.extra.text figure vid.ui.video{ width: 100%; height: auto; max-height: 800px;}img.ui.extra.attachment.image,.extra.media img.ui.attachment.image,video.ui.extra.attachment.video,.extra.media video.ui.attachment.video,.ui.feed > .event div.extra.text figure img.ui.image,.ui.feed > .event div.extra.text figure vid.ui.video{ border-style: solid; border-width: 1px; border-color: #808080;}.lg-backdrop.in { opacity: 0.8 !important;} +\ No newline at end of file