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

Long titles fixed with overflow ellipsis + completing migration to css vars

Aleix Suau4176bffd451d
diff --git a/frontend/src/global_styles/content/_projects_list.sass b/frontend/src/global_styles/content/_projects_list.sass
index 0e2d23db118..9b3b45a9f16 100644
--- a/frontend/src/global_styles/content/_projects_list.sass
+++ b/frontend/src/global_styles/content/_projects_list.sass
@@ -143,8 +143,11 @@ form.project-filters
.generic-table--header-outer:hover
background: initial
- td.name a
- white-space: nowrap
+ td.name
+ overflow: hidden
+ text-overflow: ellipsis
+ a
+ white-space: nowrap
td.project--hierarchy
white-space: nowrap
diff --git a/frontend/src/global_styles/layout/_top_menu.sass b/frontend/src/global_styles/layout/_top_menu.sass
index c165023cf01..fb7848241bb 100644
--- a/frontend/src/global_styles/layout/_top_menu.sass
+++ b/frontend/src/global_styles/layout/_top_menu.sass
@@ -26,9 +26,6 @@
// See docs/COPYRIGHT.rdoc for more details.
//++
-$hamburger-right: -3px
-$hamburger-width: 50px
-
%top-menu-hover-styles
background: var(--header-item-bg-hover-color)
color: var(--header-item-font-hover-color)
diff --git a/frontend/src/global_styles/openproject/_variables.scss b/frontend/src/global_styles/openproject/_variables.scss
index ca4e5326b34..ca8d6f79fbf 100644
--- a/frontend/src/global_styles/openproject/_variables.scss
+++ b/frontend/src/global_styles/openproject/_variables.scss
@@ -209,6 +209,8 @@
--grid-background-color: #F3F6F8;
--work-package-details--tab-height: 40px;
--warn:#C92A2A;
+ --hamburger-right: -3px;
+ --hamburger-width: 50px;
}
// SCSS variables needed for foundation, but that are set in css variables now only