Skip to content

Commit 7bd4103

Browse files
authored
fix(CopySnippet): height in older safari version (#586)
1 parent 9351230 commit 7bd4103

File tree

2 files changed

+6
-0
lines changed

2 files changed

+6
-0
lines changed

.changeset/chilled-coats-shake.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
'@cube-dev/ui-kit': patch
3+
---
4+
5+
Fix CopySnippet height in older safari version.

src/components/content/CopySnippet/CopySnippet.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,7 @@ const CopySnippetElement = tasty(Card, {
9090
preset: 'default',
9191
radius: '1r',
9292
overflow: 'hidden',
93+
height: 'max-content',
9394

9495
Grid: {
9596
display: 'grid',

0 commit comments

Comments
 (0)