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

shorten the status selector text and set an exact width to it

bsatarnejad6a5328f256d2
diff --git a/frontend/src/app/features/work-packages/components/wp-buttons/wp-status-button/wp-status-button.component.sass b/frontend/src/app/features/work-packages/components/wp-buttons/wp-status-button/wp-status-button.component.sass
index 19d1a60e7f3..eb354bc9630 100644
--- a/frontend/src/app/features/work-packages/components/wp-buttons/wp-status-button/wp-status-button.component.sass
+++ b/frontend/src/app/features/work-packages/components/wp-buttons/wp-status-button/wp-status-button.component.sass
@@ -11,4 +11,8 @@
max-width: 100%
&--text
- margin: 0 5px
+ @include text-shortener
+ width: 80px
+
+ &--button
+ display: flex
diff --git a/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.sass b/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.sass
index fd0e7ff62a5..bdf261acac1 100644
--- a/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.sass
+++ b/frontend/src/app/features/work-packages/components/wp-card-view/wp-single-card/wp-single-card.component.sass
@@ -64,7 +64,6 @@
place-self: center right
&-status
grid-area: attributeTag
- max-width: 120px
margin-right: 5px
overflow: hidden
&-cover-image