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

[65078] On mobile web, text blocks in widgets on the home page can be too narrow when there's an image (#19422)

Behrokh Satarnejad92963ff58a5e
diff --git a/frontend/src/app/features/homescreen/blocks/new-features.component.sass b/frontend/src/app/features/homescreen/blocks/new-features.component.sass
index 3843cf4adae..3fd321bd50b 100644
--- a/frontend/src/app/features/homescreen/blocks/new-features.component.sass
+++ b/frontend/src/app/features/homescreen/blocks/new-features.component.sass
@@ -1,3 +1,5 @@
+@import "helpers"
+
.op-new-features
&--teaser-image
background-image: var(--new-feature-teaser-image)
@@ -5,3 +7,11 @@
background-size: contain
background-repeat: no-repeat
background-position-x: right
+
+ @media (max-width: $breakpoint-md)
+ .widget-box--description
+ grid-template-columns: 1fr !important
+
+ .op-new-features--teaser-image
+ order: -1
+ justify-self: center