From f455e4dd38263cb9bea787f2d2c207ddf0df95b3 Mon Sep 17 00:00:00 2001 From: Melanie Boeckmann Date: Wed, 11 Dec 2024 15:39:41 -0800 Subject: [PATCH] fix: breadcrumbs item arrow display (#706) fix: breadcrumbs item arrow width --- .../components/gcds-breadcrumbs/gcds-breadcrumbs-item.css | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/packages/web/src/components/gcds-breadcrumbs/gcds-breadcrumbs-item.css b/packages/web/src/components/gcds-breadcrumbs/gcds-breadcrumbs-item.css index 6e93b7a10..848da1115 100644 --- a/packages/web/src/components/gcds-breadcrumbs/gcds-breadcrumbs-item.css +++ b/packages/web/src/components/gcds-breadcrumbs/gcds-breadcrumbs-item.css @@ -17,14 +17,13 @@ @layer default { :host(.gcds-breadcrumbs-item) { - position: relative; - @media screen and (width >= 30rem) { margin: var(--gcds-breadcrumbs-item-margin) !important; } &:before { - position: relative; + display: inline-block; + width: 0.375rem; content: url("data:image/svg+xml,"); margin: var(--gcds-breadcrumbs-item-arrow-margin); }