Skip to content
Snippets Groups Projects
Commit a36e8803 authored by Kevin Paxman's avatar Kevin Paxman
Browse files

Merge branch 'features/ISTWCMS-7056-kpaxman-infographics_fix' into '1.1.x'

ISTWCMS-7056: center vertical bar, and don't put margin at the bottom of the...

See merge request !222
parents c4f2a232 8363607b
No related branches found
No related tags found
1 merge request!222ISTWCMS-7056: center vertical bar, and don't put margin at the bottom of the...
...@@ -32,6 +32,9 @@ $highlighted-fact-round: $global-rounded; ...@@ -32,6 +32,9 @@ $highlighted-fact-round: $global-rounded;
&__caption { &__caption {
color: var(--uw-black); color: var(--uw-black);
> :last-child {
margin-bottom: 0;
}
} }
&__small { &__small {
...@@ -849,7 +852,7 @@ are the same height. */ ...@@ -849,7 +852,7 @@ are the same height. */
.highlighted-fact-infographic { .highlighted-fact-infographic {
align-items: center; align-items: center;
display: block; display: block;
height: 100%; margin: 0 auto;
.number, .number,
.timer { .timer {
...@@ -893,6 +896,7 @@ are the same height. */ ...@@ -893,6 +896,7 @@ are the same height. */
height: 200px; height: 200px;
position: relative; position: relative;
width: var(--size-10); width: var(--size-10);
margin: 0 auto;
} }
.graph { .graph {
...@@ -943,15 +947,18 @@ are the same height. */ ...@@ -943,15 +947,18 @@ are the same height. */
} }
&.infographic-half-circle { &.infographic-half-circle {
width: 15.625rem; max-width: 15.625rem;
svg { svg {
margin: calc(-0.14 * 100%) 0 calc(-0.4 * 100%); margin: calc(-0.14 * 100%) 0 calc(-0.4 * 100%);
} }
} }
&.infographic-circle { &.infographic-circle {
width: 15.625rem; max-width: 15.625rem;
svg {
margin-top: calc(-0.14 * 100%);
}
} }
} }
......
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