Skip to content

Commit bff30fb

Browse files
committed
feat: update Island styles to improve layout and overflow handling
1 parent 0ba3520 commit bff30fb

1 file changed

Lines changed: 8 additions & 0 deletions

File tree

src/components/island/Island.style.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,9 @@
66
@include box.box(variables.$primary, variables.$white, variables.$primary);
77
@include helpers.borderRadius();
88
cursor: pointer;
9+
overflow: hidden;
10+
max-width: max-content;
11+
min-height: max-content;
912

1013
* {
1114
box-sizing: border-box;
@@ -29,5 +32,10 @@
2932

3033
&__content {
3134
padding: variables.$xs;
35+
position: relative;
36+
width: 100%;
37+
max-width: 100%;
38+
height: 100%;
39+
overflow: hidden;
3240
}
3341
}

0 commit comments

Comments
 (0)