Skip to content

Commit 36b25a4

Browse files
fix(tile): remove position relative (#9706)
* fix(tile): remove position relative * fix(Tile): add position relative to bx--tile-selectable Co-authored-by: Andrea N. Cardona <andreancardona@gmail.com>
1 parent 3dd237d commit 36b25a4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

packages/components/src/components/tile/_tile.scss

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -23,11 +23,10 @@
2323
}
2424

2525
.#{$prefix}--tile {
26-
position: relative;
2726
display: block;
2827
min-width: 8rem;
2928
min-height: 4rem;
30-
padding: $carbon--spacing-05;
29+
padding: $spacing-05;
3130
background-color: $ui-01;
3231
outline: 2px solid transparent;
3332
outline-offset: -2px;
@@ -102,6 +101,7 @@
102101
}
103102

104103
.#{$prefix}--tile--selectable {
104+
position: relative;
105105
padding-right: $carbon--spacing-09;
106106
border: 1px solid transparent;
107107
}

0 commit comments

Comments
 (0)