summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-17 10:59:29 +0200
committerAlejandro Sirgo Rica <asirgo@soleta.eu>2024-07-17 10:59:29 +0200
commitea28a4baf15cfdaa2e2d954a31a8540379bee83a (patch)
treed2f68d2c5bdc0696fdb2a65be7ba48c656f11407
parent78fd46ad4ffc573b2f6c3885a7ac0310319c1d4d (diff)
css: use min-width instad of wifth for client pills
Some ogLive names can be large and a fixed size makes the text overflow under other client pills. Let the client pills grow if needed to fit its content.
-rw-r--r--ogcp/static/css/soleta.css2
-rw-r--r--ogcp/templates/base.html2
2 files changed, 2 insertions, 2 deletions
diff --git a/ogcp/static/css/soleta.css b/ogcp/static/css/soleta.css
index 7d5eb9e..5a3c3b2 100644
--- a/ogcp/static/css/soleta.css
+++ b/ogcp/static/css/soleta.css
@@ -59,7 +59,7 @@ html, body {
}
.og-pill {
- width: 11em;
+ min-width: 11em;
}
#dhcpd_conf {
diff --git a/ogcp/templates/base.html b/ogcp/templates/base.html
index 2b7c4e7..df27b9b 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=4" />
+ <link rel="stylesheet" href="{{ url_for('static', filename='css/soleta.css') }}?v=5" />
{% endblock %}
</head>
<body>