Skip to content

Commit 041b2ef

Browse files
committed
fix(FileTabs): limit the max width
1 parent 136cc92 commit 041b2ef

File tree

4 files changed

+12
-0
lines changed

4 files changed

+12
-0
lines changed

.changeset/angry-ways-switch.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+
Add support for dark schema for Underlay.

.changeset/lazy-bees-repeat.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 FileTabs Pane max size.

src/components/organisms/FileTabs/FileTabs.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -482,6 +482,7 @@ FileTabs.TabPane = function FileTabPane(allProps: CubeFileTabProps) {
482482
return (
483483
<Block
484484
style={{ display: isCurrent ? 'block' : 'none' }}
485+
width="max 100%"
485486
flexGrow={1}
486487
{...props}
487488
>

src/components/overlays/Modal/Underlay.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -6,6 +6,7 @@ import { TransitionState } from './types';
66

77
const UnderlayElement = tasty({
88
qa: 'Underlay',
9+
'data-type': 'primary',
910
styles: {
1011
position: 'fixed',
1112
top: 0,

0 commit comments

Comments
 (0)