From 38e031da13e79432a38dc3a73e84988e92a59b95 Mon Sep 17 00:00:00 2001 From: Kevin Veen-Birkenbach Date: Fri, 7 Feb 2025 16:06:42 +0100 Subject: [PATCH] Solved mastodon svg bug --- roles/nginx-global-css/templates/global.css.j2 | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/roles/nginx-global-css/templates/global.css.j2 b/roles/nginx-global-css/templates/global.css.j2 index f61280b9..4565216b 100644 --- a/roles/nginx-global-css/templates/global.css.j2 +++ b/roles/nginx-global-css/templates/global.css.j2 @@ -159,8 +159,7 @@ h1, h2 { color: var(--button-text-color) !important; } -/* Fix for mastodon svgs */ -button svg { - fill: var(--button-text-color) !important; +/* Ensure the button itself uses the light text color. Occured in Mastodon */ +button.icon-button { color: var(--button-text-color) !important; -} +} \ No newline at end of file