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

Reduce width of global search input

Oliver Güntherd4b574f4c857
diff --git a/frontend/src/app/core/global_search/input/global-search-input.component.sass b/frontend/src/app/core/global_search/input/global-search-input.component.sass
index 730917b76a3..8a9c6700532 100644
--- a/frontend/src/app/core/global_search/input/global-search-input.component.sass
+++ b/frontend/src/app/core/global_search/input/global-search-input.component.sass
@@ -84,6 +84,8 @@ $search-input-height: 30px
// The ng-select default theme is overly specific
// We might want to replace it with our own BEM theme definition
color: var(--header-item-font-color) !important
+ // Reduce width to ensure placeholder text does not exceed
+ width: calc(100% - 30px)
&.-expanded
width: $search-input-width-expanded