Skip to content
Snippets Groups Projects
Commit 5cf32039 authored by Michael Hartung's avatar Michael Hartung
Browse files

fulll opacity for pie chart nodes

parent f59c4a4f
No related branches found
No related tags found
No related merge requests found
......@@ -155,7 +155,9 @@ export function pieChartContextRenderer({ ctx, x, y, state: { selected, hover },
ctx.shadowBlur = 10;
}
ctx.fillStyle = style.color ? style.color : "red";
ctx.fillStyle = style.color ? style.color : 'rgba(255, 0, 0, 1)';
// set alpha value to 1
ctx.fillStyle = ctx.fillStyle.replace(/[^,]+(?=\))/, '1')
ctx.strokeStyle = "black";
ctx.lineWidth = 2;
ctx.beginPath();
......
......@@ -118,8 +118,8 @@
/* Hide scrollbar for IE, Edge and Firefox */
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none; /* Firefox */
@media only screen and (min-width: 1400px) {
max-width: $sidebar-max-width;
@media only screen and (min-width: #{$screen-lg}) {
max-width: 350px;
}
}
......
// media queries
$screen-lg: 1400px;
$row-data-selector-height: auto;
$network-header-height: 3rem;
$network-footer-height: 4rem;
......@@ -35,7 +38,6 @@ $legend-diamond-size: 25px;
$height: 100%;
$sidebar-width: 25%;
$sidebar-max-width: 350px;
$sidebar-min-width: 240px;
// settings for different screen sizes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment