diff --git a/src/components/charts/scatter-plot/scatter-plot-styles.module.scss b/src/components/charts/scatter-plot/scatter-plot-styles.module.scss index 25fec569f..d874a68ee 100644 --- a/src/components/charts/scatter-plot/scatter-plot-styles.module.scss +++ b/src/components/charts/scatter-plot/scatter-plot-styles.module.scss @@ -70,6 +70,7 @@ $chart-margin: 14px; .tickValue { @extend %annotation; color: $alto; + font-size: $font-size-tick; } .tickValue { @@ -94,7 +95,7 @@ $chart-margin: 14px; border: 2px solid $firefly; width: 190px; overflow: hidden; - .countryLabel{ + .countryLabel { padding: 5px; .name { @extend %title; @@ -109,12 +110,11 @@ $chart-margin: 14px; } } - @keyframes pulse { 0% { r: 1%; opacity: 0; - animation-timing-function:cubic-bezier(1,.01,.91,.46); + animation-timing-function: cubic-bezier(1, 0.01, 0.91, 0.46); } 50% { r: 1.1%; diff --git a/src/containers/nrc-content/nrc-challenges/nrc-challenges-styles.module.scss b/src/containers/nrc-content/nrc-challenges/nrc-challenges-styles.module.scss index 24c9aed2f..55850d108 100644 --- a/src/containers/nrc-content/nrc-challenges/nrc-challenges-styles.module.scss +++ b/src/containers/nrc-content/nrc-challenges/nrc-challenges-styles.module.scss @@ -40,7 +40,7 @@ width: 80%; margin-left: 20px; - .xAxisContainer{ + .xAxisContainer { width: 100%; .xAxisLabelContainer { @@ -63,8 +63,8 @@ .yAxisIndicator { @extend %bodyText; color: $alto; + font-size: $font-size-tick; } - } } @@ -77,8 +77,8 @@ position: relative; bottom: 50%; left: 2px; + font-size: $font-size-tick; } - } .scatterPlotLegendWrapper { @@ -88,7 +88,7 @@ .legendTitle { color: $grey-text; font-weight: 300; - font-size: 13px; + font-size: $font-size-legend; } .legendItem { @@ -96,6 +96,7 @@ color: $white; display: flex; margin: 0; + font-size: $font-size-tick; .legendItemColor { border-radius: 50%; @@ -158,10 +159,9 @@ .scatterPlotChartWrapper { width: 100%; - .xAxisLabelContainer { - padding-left: calc(50% - 165px); - - } + .xAxisLabelContainer { + padding-left: calc(50% - 165px); + } .yAxisContainer { bottom: 300px; @@ -176,7 +176,6 @@ width: 90%; .continentsLegendWrapper { - .legendItemsContainer { display: grid; grid-template-columns: 1fr 1fr; diff --git a/src/containers/sidebars/data-global-sidebar/analyze-areas-sidebar-card/component.jsx b/src/containers/sidebars/data-global-sidebar/analyze-areas-sidebar-card/component.jsx index 7376b4432..3e8572c31 100644 --- a/src/containers/sidebars/data-global-sidebar/analyze-areas-sidebar-card/component.jsx +++ b/src/containers/sidebars/data-global-sidebar/analyze-areas-sidebar-card/component.jsx @@ -87,7 +87,7 @@ function AnalyzeAreasCardComponent({