From 63e8608c9bec915428e5e9971db0d1f25e2f3a30 Mon Sep 17 00:00:00 2001 From: Jaidyn Ann <10477760+JadedCtrl@users.noreply.github.com> Date: Sun, 5 May 2024 22:46:25 -0500 Subject: [PATCH] Better default CSS/class for non-image attachments --- fedi2html | 15 +++++++-------- style.css | 2 +- 2 files changed, 8 insertions(+), 9 deletions(-) diff --git a/fedi2html b/fedi2html index 6d670d5..f1e81c3 100755 --- a/fedi2html +++ b/fedi2html @@ -34,20 +34,19 @@ fi if test -z "$ATTACH_TEMPLATE"; then ATTACH_TEMPLATE=' - -
- $ATTACH_NAME - $ATTACH_DESC -
-
' +
+ $ATTACH_NAME + $ATTACH_DESC +
+' fi if test -z "$ATTACH_IMAGE_TEMPLATE"; then ATTACH_IMAGE_TEMPLATE=' -
+
- $ATTACH_DESC + $ATTACH_DESC
$ATTACH_NAME
diff --git a/style.css b/style.css index c40f458..ae8c3e1 100644 --- a/style.css +++ b/style.css @@ -95,7 +95,7 @@ width: 1.5em; } -.comment figure { +.comment .attachment { padding: 10px; border: 1px solid gray; border-radius: 10px;