From eb31be92cacd98f66f45a570b6a1a8e9f891234a Mon Sep 17 00:00:00 2001 From: Abbey Hart Date: Mon, 20 Sep 2021 16:57:10 -0500 Subject: [PATCH 1/2] fix(tile): remove position relative --- packages/components/src/components/tile/_tile.scss | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/packages/components/src/components/tile/_tile.scss b/packages/components/src/components/tile/_tile.scss index 81d38d600d35..609bc6837ffd 100644 --- a/packages/components/src/components/tile/_tile.scss +++ b/packages/components/src/components/tile/_tile.scss @@ -23,11 +23,10 @@ } .#{$prefix}--tile { - position: relative; display: block; min-width: 8rem; min-height: 4rem; - padding: $carbon--spacing-05; + padding: $spacing-05; background-color: $ui-01; outline: 2px solid transparent; outline-offset: -2px; From e5a11d417520aa89dde92fb52465e652c798c295 Mon Sep 17 00:00:00 2001 From: Abbey Hart Date: Mon, 20 Sep 2021 17:17:46 -0500 Subject: [PATCH 2/2] fix(Tile): add position relative to bx--tile-selectable --- packages/components/src/components/tile/_tile.scss | 1 + 1 file changed, 1 insertion(+) diff --git a/packages/components/src/components/tile/_tile.scss b/packages/components/src/components/tile/_tile.scss index 609bc6837ffd..f7ddf4e88c09 100644 --- a/packages/components/src/components/tile/_tile.scss +++ b/packages/components/src/components/tile/_tile.scss @@ -101,6 +101,7 @@ } .#{$prefix}--tile--selectable { + position: relative; padding-right: $carbon--spacing-09; border: 1px solid transparent; }