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

Adjusted card styling to make subject grow instead of floating assignee and dates to the bottom

Torben Köhler57e0056bbfc5
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 fcc949c0d22..2c1789e43b7 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
@@ -74,7 +74,7 @@
&:not(.-new)
display: grid
grid-template-columns: max-content max-content auto auto 1fr
- grid-template-rows: auto max-content max-content 1fr
+ grid-template-rows: auto 1fr max-content auto
grid-row-gap: 5px
grid-column-gap: 5px
grid-template-areas: "status id project project project" "subject subject subject subject subject" "image image image image image" "avatar avatar avatar dates dates"
@@ -98,7 +98,6 @@
&-assignee
margin-right: auto
grid-area: avatar
- align-self: end
max-width: 140px
color: $spot-color-basic-gray-3
font-size: 12px
@@ -121,7 +120,7 @@
&-dates
grid-area: dates
- place-self: end end
+ place-self: center end
white-space: nowrap
color: $spot-color-basic-gray-3
font-size: 12px