Skip to content

OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub

Correct toolbar height for calculation of the table height. Otherwise there will be a second scrollbar on the page. The space below the table was removed as well, as it looks weird. When the modal is opened, users might have to scroll (until this not a Primer action menu) but this is accepted as it is an edge case and not visible all the time.

Henriette Darge39bb8495e6b6
diff --git a/frontend/src/global_styles/content/_table.sass b/frontend/src/global_styles/content/_table.sass
index c005aab3858..d5f8f6ad890 100644
--- a/frontend/src/global_styles/content/_table.sass
+++ b/frontend/src/global_styles/content/_table.sass
@@ -34,8 +34,9 @@
$input-elements: input, 'input.form--text-field', select, 'select.form--select', '.form--field-affix', 'a.button'
-$toolbar-height: 80px
-$toolbar-height--mobile: 100px
+// These values are based on the new Primer::OpenProject::PageHeader implementation
+$toolbar-height: 195px
+$toolbar-height--mobile: 180px
.generic-table--flex-container
display: flex
@@ -46,9 +47,6 @@ $toolbar-height--mobile: 100px
@media screen and (max-width: $breakpoint-sm)
max-height: calc(100vh - #{var(--header-height)} - #{$toolbar-height--mobile})
- .generic-table--results-container
- padding-bottom: $spot-spacing-10
-
.generic-table--container
display: contents