diff --git a/styles_src/q-chart.scss b/styles_src/q-chart.scss index edd8f0a7..97b97cc8 100644 --- a/styles_src/q-chart.scss +++ b/styles_src/q-chart.scss @@ -7,14 +7,18 @@ } .q-chart-events { - margin: 0 4px; + margin-top: 4px; display: flex; flex-direction: row; - align-items: flex-start; +} + +.q-chart-events__icon { + height: 18px; + width: 18px; + margin-right: 4px; } .q-chart-events__label { display: flex; align-items: center; - margin-left: 4px; } diff --git a/views/events.html b/views/events.html index 67010017..ac5fbdec 100644 --- a/views/events.html +++ b/views/events.html @@ -3,24 +3,29 @@ style="margin: 15px -4px; display: flex; flex-wrap: wrap;" > {%- for event in events.data %} -
+
{% set radius = events.config.radius %} - - - - - {{ loop.index }} - - - - {{ event.label }} -
+
+ + + + + {{ loop.index }} + + + +
+
{{ event.label }}
+
{%- endfor %}