Ver Fonte

Fix chart styling with border-radius (#2160)

Paweł Kuna há 6 meses atrás
pai
commit
2d05b5d5d3

+ 5 - 0
core/scss/vendor/_apexcharts.scss

@@ -40,4 +40,9 @@
 
 .apexcharts-radialbar-track .apexcharts-radialbar-area {
   stroke: var(--#{$prefix}border-color) !important;
+}
+
+.apexcharts-svg,
+.apexcharts-canvas {
+  border-radius: inherit;
 }

+ 1 - 1
preview/pages/_includes/cards/charts/revenue.html

@@ -13,5 +13,5 @@
 			</div>
 		</div>
 	</div>
-	{% include "ui/chart.html" chart-id="revenue-bg" size="sm" %}
+	{% include "ui/chart.html" chart-id="revenue-bg" size="sm" class="rounded-bottom" %}
 </div>