Skip to content

Commit b795009

Browse files
committed
[DREAM-801] Reserve control height in list headers
Headers whose action buttons are hidden while filtering shrank by the button height. The heading line now reserves the medium control height, replacing the caller-side title padding the migrations dropped. https://community.openproject.org/wp/DREAM-801
1 parent a054687 commit b795009

1 file changed

Lines changed: 3 additions & 0 deletions

File tree

app/components/open_project/common/border_box_list_component.sass

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,9 @@
154154
display: flex
155155
align-items: center
156156
gap: var(--stack-gap-condensed)
157+
// Reserve the height of a medium control so headers whose action
158+
// buttons toggle (e.g. hidden while filtering) keep a stable height.
159+
min-height: var(--control-medium-size)
157160

158161
.Box-title
159162
min-width: 0

0 commit comments

Comments
 (0)