From 74abea0eebcf04f840c5d3df31b8e08c5fac9997 Mon Sep 17 00:00:00 2001 From: Kevin Paxman <kpaxman@uwaterloo.ca> Date: Mon, 22 Jul 2024 12:15:01 -0400 Subject: [PATCH] ISTWCMS-7056: center vertical bar, and don't put margin at the bottom of the last thing in a caption --- .../04-components/facts-and-figures/_facts-and-figures.scss | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/patterns/04-components/facts-and-figures/_facts-and-figures.scss b/src/patterns/04-components/facts-and-figures/_facts-and-figures.scss index 5cbe0818..c8f11022 100644 --- a/src/patterns/04-components/facts-and-figures/_facts-and-figures.scss +++ b/src/patterns/04-components/facts-and-figures/_facts-and-figures.scss @@ -32,6 +32,9 @@ $highlighted-fact-round: $global-rounded; &__caption { color: var(--uw-black); + > :last-child { + margin-bottom: 0; + } } &__small { @@ -893,6 +896,7 @@ are the same height. */ height: 200px; position: relative; width: var(--size-10); + margin: 0 auto; } .graph { -- GitLab