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

Restore mobile style

Oliver Günthera014f02bf852
diff --git a/app/components/enterprise_edition/upsale_page_component.sass b/app/components/enterprise_edition/upsale_page_component.sass
index 4d5a8db0340..794d4156f7b 100644
--- a/app/components/enterprise_edition/upsale_page_component.sass
+++ b/app/components/enterprise_edition/upsale_page_component.sass
@@ -46,3 +46,11 @@
width: 30%
margin-bottom: 20px
box-shadow: 4px 4px 10px rgb(0 0 0 / 15%)
+
+ @media screen and (max-width: $breakpoint-md)
+ max-width: none
+
+ .widget-box--teaser-image,
+ .widget-box--teaser-video
+ width: 90%
+ border-radius: 15px
diff --git a/frontend/src/global_styles/content/_enterprise.sass b/frontend/src/global_styles/content/_enterprise.sass
index 05bd310b98a..bcea7afe6a7 100644
--- a/frontend/src/global_styles/content/_enterprise.sass
+++ b/frontend/src/global_styles/content/_enterprise.sass
@@ -54,20 +54,3 @@
.widget-box--blocks--upsale-image
width: 200px
margin: auto
-
-// There is a breadcrumb at the top of some of the Enterprise pages showing some spacing,
-// but for some other pages without a breadcrumb, there is no space at the top of of the page.
-// Therefore, we are just hiding the breadcrumb on top of these pages.
-:has(.upsale-notification_hide-breadcrumb)
- #breadcrumb:has(:not(.-show))
- display: block
- visibility: hidden
-
-@media screen and (max-width: $breakpoint-sm)
- .upsale-notification
- max-width: none
-
- .widget-box--teaser-image,
- .widget-box--teaser-video
- width: 90%
- border-radius: 15px