From 594d655d6b13edfd1885d555ecda1a6f912db501 Mon Sep 17 00:00:00 2001 From: Alejandro Sirgo Rica Date: Mon, 22 Jul 2024 16:56:07 +0200 Subject: css: add fixed font to disclosure widget Prevent inconsistent visuals in different browser configurations. Make the disclosure widget always look the same. --- ogcp/static/css/soleta.css | 2 ++ ogcp/templates/base.html | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) (limited to 'ogcp') diff --git a/ogcp/static/css/soleta.css b/ogcp/static/css/soleta.css index 5a3c3b2..fe75877 100644 --- a/ogcp/static/css/soleta.css +++ b/ogcp/static/css/soleta.css @@ -71,6 +71,7 @@ a.nav-link.collapsed:not(.disabled)[data-toggle="collapse"]::before { position: absolute; left: -15px; font-size: 0.7em; + font-family: Arial, sans-serif; } a.nav-link:not(.collapsed):not(.disabled)[data-toggle="collapse"]::before { @@ -79,6 +80,7 @@ a.nav-link:not(.collapsed):not(.disabled)[data-toggle="collapse"]::before { left: -15px; transform: rotate(90deg); font-size: 0.7em; + font-family: Arial, sans-serif; } a.nav-link.live-report::before { diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html index da24bfe..ead7642 100644 --- a/ogcp/templates/base.html +++ b/ogcp/templates/base.html @@ -10,7 +10,7 @@ - + {% endblock %} -- cgit v1.2.3-18-g5258