Skip to content

Commit d76f1d1

Browse files
ENvironmentSetanakin_karrot
andauthored
fix(plugin-basic-ui): Add missing appBar.minHeight option for AppBar min-height injection (#656)
Co-authored-by: anakin_karrot <[email protected]>
1 parent 87d450e commit d76f1d1

File tree

2 files changed

+7
-1
lines changed

2 files changed

+7
-1
lines changed

.changeset/tame-flies-clean.md

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"@stackflow/plugin-basic-ui": patch
3+
---
4+
5+
Add interface to inject appBar.minHeight

extensions/plugin-basic-ui/src/basicUIPlugin.tsx

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,6 +81,7 @@ export const basicUIPlugin: (
8181
[css.globalVars.appBar.borderColor]: _options.appBar?.borderColor,
8282
[css.globalVars.appBar.borderSize]: _options.appBar?.borderSize,
8383
[css.globalVars.appBar.height]: _options.appBar?.height,
84+
[css.globalVars.appBar.minHeight]: _options.appBar?.minHeight,
8485
[css.globalVars.appBar.iconColor]: _options.appBar?.iconColor,
8586
[css.globalVars.appBar.textColor]: _options.appBar?.textColor,
8687
[css.globalVars.appBar.minSafeAreaInsetTop]:
@@ -95,7 +96,7 @@ export const basicUIPlugin: (
9596
[css.globalVars.appBar.hitSlop]: _options.appBar?.hitSlop,
9697
[css.globalVars.appBar.itemGap]: _options.appBar?.itemGap,
9798
[css.globalVars.edge.width]: _options.edge?.width,
98-
})
99+
}),
99100
)}
100101
>
101102
{stack.render()}

0 commit comments

Comments
 (0)