Skip to content

Commit d52126a

Browse files
committed
fix(panel): Adjust panel visualization section height when title is hidden
1 parent c06aa1a commit d52126a

File tree

1 file changed

+8
-0
lines changed

1 file changed

+8
-0
lines changed

dashboard/src/components/panel/panel-render/panel-render-base.css

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,9 +49,17 @@
4949
right: 16px;
5050
}
5151

52+
.panel-root:not(.panel-root--show-title)
53+
.panel-top-right-actions:has(div[id^='panel-addon-slot-'])
54+
~ .panel-viz-section {
55+
margin-top: 16px;
56+
height: calc(100% - 16px);
57+
}
58+
5259
.panel-root:not(.panel-root--show-title)
5360
.panel-top-right-actions:has(div[id^='panel-addon-slot-']:empty)
5461
~ .panel-viz-section {
62+
margin-top: 0;
5563
height: 100%;
5664
}
5765

0 commit comments

Comments
 (0)