diff options
author | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-03-08 17:22:48 +0100 |
---|---|---|
committer | Javier Sánchez Parra <jsanchez@soleta.eu> | 2022-03-09 17:08:33 +0100 |
commit | 7dfeb3e44e2ed4d4b38ee16768e64207aac6eb91 (patch) | |
tree | db7e2181198bcb66d430fa5c12469767a24c6368 /ogcp/static | |
parent | d7b19c6aa0c9502585a5b97bccc8dd312095e3db (diff) |
Set pills width
Set the same width to all pills.
Diffstat (limited to 'ogcp/static')
-rw-r--r-- | ogcp/static/css/soleta.css | 4 | ||||
-rw-r--r-- | ogcp/static/js/ogcp.js | 2 |
2 files changed, 5 insertions, 1 deletions
diff --git a/ogcp/static/css/soleta.css b/ogcp/static/css/soleta.css index 6871cf8..2dc0c3e 100644 --- a/ogcp/static/css/soleta.css +++ b/ogcp/static/css/soleta.css @@ -35,3 +35,7 @@ html, body { color: white !important; background-color: #99791a !important; } + +.og-pill { + width: 11em; +} diff --git a/ogcp/static/js/ogcp.js b/ogcp/static/js/ogcp.js index 00b451c..0f3a648 100644 --- a/ogcp/static/js/ogcp.js +++ b/ogcp/static/js/ogcp.js @@ -8,7 +8,7 @@ function showSelectedClient(client_checkbox) { if (client_checkbox.checked) { if (!($('#' + pill_id).length)) - $(container).append('<div class="badge badge-pill badge-light" ' + + $(container).append('<div class="badge badge-pill og-pill badge-light" ' + 'id="'+ pill_id + '">' + client_checkbox.name + '<br>' + client_checkbox.value + '</div>'); return; |