From 397e8c18d5fdf0d79d4d2ce0a6e75233b62779d9 Mon Sep 17 00:00:00 2001 From: christian medders Date: Sat, 22 Jun 2024 13:54:04 -0400 Subject: [PATCH 1/3] Vote-2194: Fix to breadcrumb style --- .../src/sass/uswds-overrides/usa-breadcrumb.scss | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/web/themes/custom/votegov/src/sass/uswds-overrides/usa-breadcrumb.scss b/web/themes/custom/votegov/src/sass/uswds-overrides/usa-breadcrumb.scss index cc1dbee1a..4ccb5bc06 100644 --- a/web/themes/custom/votegov/src/sass/uswds-overrides/usa-breadcrumb.scss +++ b/web/themes/custom/votegov/src/sass/uswds-overrides/usa-breadcrumb.scss @@ -3,6 +3,16 @@ .usa-breadcrumb { background-color: transparent; + + // & + * { + // @include u-margin-top(5); + + // @include at-media('tablet') { + // @include u-margin-top(10); + // } + + // } + } .usa-breadcrumb__link { @@ -12,10 +22,11 @@ } // targeting the div wrapping the breadcrumb block and add margin top to the following element -.system-breadcrumb-block + * { +.block.system-breadcrumb-block + * { @include u-margin-top(5); @include at-media('tablet') { @include u-margin-top(10); } } + From dcf75d64bc54d5a1c8ae82f7fb8c1d2cb083d1dc Mon Sep 17 00:00:00 2001 From: christian medders Date: Mon, 24 Jun 2024 09:05:38 -0400 Subject: [PATCH 2/3] remove unneeded code --- .../src/sass/uswds-overrides/usa-breadcrumb.scss | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/web/themes/custom/votegov/src/sass/uswds-overrides/usa-breadcrumb.scss b/web/themes/custom/votegov/src/sass/uswds-overrides/usa-breadcrumb.scss index 4ccb5bc06..a8112ba28 100644 --- a/web/themes/custom/votegov/src/sass/uswds-overrides/usa-breadcrumb.scss +++ b/web/themes/custom/votegov/src/sass/uswds-overrides/usa-breadcrumb.scss @@ -3,16 +3,6 @@ .usa-breadcrumb { background-color: transparent; - - // & + * { - // @include u-margin-top(5); - - // @include at-media('tablet') { - // @include u-margin-top(10); - // } - - // } - } .usa-breadcrumb__link { From 558a02c36806d51baf9ccc145f3aff133cf3e4a6 Mon Sep 17 00:00:00 2001 From: christian medders Date: Mon, 24 Jun 2024 09:06:13 -0400 Subject: [PATCH 3/3] code clean up --- .../custom/votegov/src/sass/uswds-overrides/usa-breadcrumb.scss | 1 - 1 file changed, 1 deletion(-) diff --git a/web/themes/custom/votegov/src/sass/uswds-overrides/usa-breadcrumb.scss b/web/themes/custom/votegov/src/sass/uswds-overrides/usa-breadcrumb.scss index a8112ba28..f16ef5309 100644 --- a/web/themes/custom/votegov/src/sass/uswds-overrides/usa-breadcrumb.scss +++ b/web/themes/custom/votegov/src/sass/uswds-overrides/usa-breadcrumb.scss @@ -19,4 +19,3 @@ @include u-margin-top(10); } } -