summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-22 16:56:07 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-25 09:48:00 +0200
commit594d655d6b13edfd1885d555ecda1a6f912db501 (patch)
treeada4517a6a723a126e86a07e6c3e96b2b087097a
parentc1d08df31d5135fe43c26ea32b5998ad30645162 (diff)
css: add fixed font to disclosure widget
Prevent inconsistent visuals in different browser configurations. Make the disclosure widget always look the same.
-rw-r--r--ogcp/static/css/soleta.css2
-rw-r--r--ogcp/templates/base.html2
2 files changed, 3 insertions, 1 deletions
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 @@
<link rel="stylesheet" href="{{ url_for('static', filename='AdminLTE/plugins/fontawesome-free/css/all.min.css') }}">
<!-- Theme style -->
<link rel="stylesheet" href="{{ url_for('static', filename='AdminLTE/dist/css/adminlte.min.css') }}">
- <link rel="stylesheet" href="{{ url_for('static', filename='css/soleta.css') }}?v=5" />
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/soleta.css') }}?v=6" />
{% endblock %}
</head>
<body>