1
0
mirror of https://github.com/tabler/tabler.git synced 2026-07-30 15:04:38 +04:00

homepage fixes

This commit is contained in:
codecalm
2020-02-08 00:04:46 +01:00
parent 5c738dc5a9
commit 019037c65a
8 changed files with 84 additions and 25 deletions
+2 -2
View File
@@ -19,9 +19,9 @@
height: 40,
stroke: "{{ color | tabler_color }}",
strokeWidth: 2,
fill: {% if type == 'pie' %}["{{ color | default: 'blue' | tabler_color }}", "{{ 'border-color' | tabler_color }}"]{% elsif type == 'bar' %}["{{ color | tabler_color }}"]{% else %}"transparent"{% endif %},
fill: {% if type == 'pie' %}["{{ color | default: 'blue' | tabler_color }}", "{{ 'border-color' | tabler_color }}"]{% elsif type == 'line' %}["{{ color | append: '-100' | tabler_color }}"]{% else %}"transparent"{% endif %},
padding: .2,
innerRadius: 17,
{% if type == 'pie' %}innerRadius: 17,{% endif %}
});
});
</script>