We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent c74dffd commit f608f61Copy full SHA for f608f61
src/blockHeader/index.tsx
@@ -86,7 +86,9 @@ const BlockHeader: React.FC<IBlockHeaderProps> = function (props) {
86
const tooltipProps = toTooltipProps(tooltip);
87
88
let bottomStyle;
89
- if (spaceBottom) bottomStyle = { marginBottom: spaceBottom };
+ if (spaceBottom)
90
+ bottomStyle =
91
+ showCollapse && currentExpand ? { marginBottom: 0 } : { marginBottom: spaceBottom };
92
93
const handleExpand = (expand: boolean) => {
94
if (!children) return;
0 commit comments