mirror of
https://github.com/GSA/notifications-admin.git
synced 2026-08-25 08:44:23 -04:00
Put default spark-bar-bar css in table.scss file
This commit is contained in:
@@ -446,3 +446,7 @@ a.table-show-more-link {
|
|||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
text-overflow: ellipsis;
|
text-overflow: ellipsis;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.spark-bar-bar {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
|
|||||||
@@ -183,17 +183,13 @@
|
|||||||
id=None
|
id=None
|
||||||
) %}
|
) %}
|
||||||
{% call field(align='right') %}
|
{% call field(align='right') %}
|
||||||
<style nonce="{{ csp_nonce() }}">
|
{% if id %}
|
||||||
{% if id %}
|
<style nonce="{{ csp_nonce() }}">
|
||||||
#{{id}} .spark-bar-bar {
|
#{{id}} .spark-bar-bar {
|
||||||
width: {{ count / max_count * 100 }}%;
|
width: {{ count / max_count * 100 }}%;
|
||||||
}
|
}
|
||||||
{% else %}
|
</style>
|
||||||
.spark-bar-bar {
|
{% endif %}
|
||||||
width: 100%;
|
|
||||||
}
|
|
||||||
{% endif %}
|
|
||||||
</style>
|
|
||||||
<span {% if id %}id="{{ id }}"{% endif %} class="spark-bar">
|
<span {% if id %}id="{{ id }}"{% endif %} class="spark-bar">
|
||||||
<span class="spark-bar-bar">
|
<span class="spark-bar-bar">
|
||||||
{{ '{:,.0f}'.format(count) }}
|
{{ '{:,.0f}'.format(count) }}
|
||||||
|
|||||||
Reference in New Issue
Block a user