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
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
Unify padding behaviour for mobile and desktop. Now both have the padding on the `content`. Before it was applied on differenent DOM elements, which for one did not make much sense and second caused bugs and special treatments as all components had to be able to deal with both cases
Henriette Dargea00a77a1684d
diff --git a/frontend/src/global_styles/layout/_base.sass b/frontend/src/global_styles/layout/_base.sassindex e7a2f8c8f4b..5ccdeb405a4 100644--- a/frontend/src/global_styles/layout/_base.sass+++ b/frontend/src/global_styles/layout/_base.sass@@ -48,7 +48,7 @@@include default-transition@include styled-scroll-barmargin: 0 0 0 0- padding: 0px+ padding: 0// Needed for Safariheight: calc(100vh - var(--header-height))overflow-y: autodiff --git a/frontend/src/global_styles/layout/_base_mobile.sass b/frontend/src/global_styles/layout/_base_mobile.sassindex 0976f75eebc..31d5d99dcf6 100644--- a/frontend/src/global_styles/layout/_base_mobile.sass+++ b/frontend/src/global_styles/layout/_base_mobile.sass@@ -60,11 +60,8 @@min-height: calc(100vh - var(--header-height))// ------------------- END CHANGED SCROLL BEHAVIOR- #content-wrapper- padding: 15px-#content- padding: 0+ padding: 10px 15px#maingrid-template-columns: auto@@ -87,4 +84,3 @@@media screen and (max-width: $breakpoint-lg) and (min-width: $breakpoint-sm).hidden-for-tablet-and-small-laptopsdisplay: none !important-diff --git a/frontend/src/global_styles/layout/work_packages/_mobile.sass b/frontend/src/global_styles/layout/work_packages/_mobile.sassindex a5b40113b62..1be0d5d9754 100644--- a/frontend/src/global_styles/layout/work_packages/_mobile.sass+++ b/frontend/src/global_styles/layout/work_packages/_mobile.sass@@ -33,14 +33,11 @@#main#content-wrapper- padding: 15px&.nomenustop: 0- padding: 0width: 100%margin-left: 0-.work-packages--show-viewul#toolbar-items li .wp-create-button .dropdownleft: 0 !important@@ -129,9 +126,8 @@.router--work-packages-partitioned-split-view// Ensure the WP cards can span the complete width on mobile- #content-wrapper+ #contentpadding: 15px 0 !important.toolbar-containermargin-left: 15px- padding-left: 0px !important