From 0216deb74fdf6091db8929c852bc45a141d2b7df Mon Sep 17 00:00:00 2001 From: falkTX Date: Thu, 24 Jul 2025 18:32:19 +0200 Subject: [PATCH] use ::before Signed-off-by: falkTX --- includes/header.php | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/includes/header.php b/includes/header.php index 4fcd480..ec577ff 100644 --- a/includes/header.php +++ b/includes/header.php @@ -220,13 +220,14 @@ function isMobile() { .repository-package > div:first-child { padding-top: calc(0.5em + 0.5px); } - .repository-package.abandoned > div:first-child::after { + .repository-package.abandoned > div:first-child::before { background-color: #ffba10; color: black; content: "abandoned"; height: 1rem; padding: 4px; - position: absolute; + position: relative; + left: 39px; /*calc(150px / 2 - 72px / 2)*/ } @media only screen and (max-width: 540px) { .repository-package {