From e6a5648a59979f2deecefa525af3db05a8136ad3 Mon Sep 17 00:00:00 2001 From: bmauger Date: Thu, 3 Feb 2022 13:06:58 -0500 Subject: [PATCH] CSR-257 update how button and text link wrap and stack. --- .../funnel-footer/funnel-footer.vue | 30 ++++++++++++++++--- src/layouts/component-test/component-test.vue | 18 +++++------ src/ux-components/button-main/button-main.vue | 3 +- src/ux-components/text-link/text-link.vue | 7 ++--- 4 files changed, 39 insertions(+), 19 deletions(-) diff --git a/src/common-components/funnel-footer/funnel-footer.vue b/src/common-components/funnel-footer/funnel-footer.vue index 05c184b5c..fa09e90af 100644 --- a/src/common-components/funnel-footer/funnel-footer.vue +++ b/src/common-components/funnel-footer/funnel-footer.vue @@ -26,15 +26,16 @@
-
-
+
+
+
+
80) { + wrapper.classList.add("justify-content-start"); + wrapper.classList.remove("justify-content-end"); + wrapper.classList.add("justify-content-start"); + wrapper.classList.remove("justify-content-end"); + } else { + wrapper.classList.add("justify-content-end"); + wrapper.classList.remove("justify-content-start"); + } } } }; + + diff --git a/src/layouts/component-test/component-test.vue b/src/layouts/component-test/component-test.vue index 0b8ec119b..6c7df5de1 100644 --- a/src/layouts/component-test/component-test.vue +++ b/src/layouts/component-test/component-test.vue @@ -76,7 +76,7 @@
Functioning as Checkbox Checkbox no Description Functioning as Radio Button Radio Button no Description Horizontal Radio Button Radio Button no Description a { color: $blue; - text-decoration: none; - border-bottom: 1px solid $blue; + text-underline-offset: 0.5em; line-height: 26px; padding: 0 0 4px 0; font-weight: 500; @@ -45,7 +44,6 @@ a { } &.navigation-link { color: $black; - border-bottom: 1px solid $black; line-height: 26px; display: inline-flex; text-transform: capitalize; @@ -54,14 +52,13 @@ a { &.footer-link { color: $gray-600; text-decoration: none; - border-bottom: 1px solid transparent; line-height: 20px; padding: 0 0 2px 0; font-weight: 400; font-size: 0.75rem; &:hover { - border-bottom: 1px solid $gray-500; padding: 0 0 2px 0; + text-decoration: underline; } } }