From a094f2a3572e3beedbe4d59c65d5b460f2de0e40 Mon Sep 17 00:00:00 2001 From: Sunil Mohan Adapa Date: Sun, 17 Nov 2024 23:11:40 -0800 Subject: [PATCH] ui: Allow underlining for most links due to Bootstrap 5 - Bootstrap 5 underlines all links by default. Allow this change without reverting as this is likely done to improve accessibility. - In Networks diagram and firewall page, provide exception and remove the underlining. Signed-off-by: Sunil Mohan Adapa Reviewed-by: Veiko Aasa --- plinth/modules/firewall/static/firewall.css | 1 + plinth/modules/networks/static/networks.css | 4 ++++ 2 files changed, 5 insertions(+) diff --git a/plinth/modules/firewall/static/firewall.css b/plinth/modules/firewall/static/firewall.css index c67e29634..36cbc5564 100644 --- a/plinth/modules/firewall/static/firewall.css +++ b/plinth/modules/firewall/static/firewall.css @@ -3,6 +3,7 @@ */ a.dropdown-toggle { + text-decoration: none; color: black; } diff --git a/plinth/modules/networks/static/networks.css b/plinth/modules/networks/static/networks.css index 8d8c690b7..b497ce369 100644 --- a/plinth/modules/networks/static/networks.css +++ b/plinth/modules/networks/static/networks.css @@ -32,6 +32,10 @@ margin-bottom: 2rem; } +.connection-diagram a { + text-decoration: none; /* Not important so make them less noisy */ +} + .col-image { display: block; width: 100%;