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

Reduce width of back button on mobile so that other actions (as watch, mark as read, more menu) are still visible

Henriette Dargec294758a917b
diff --git a/frontend/src/app/features/work-packages/components/back-routing/back-button.component.sass b/frontend/src/app/features/work-packages/components/back-routing/back-button.component.sass
index 16ecc319f76..a962294fb51 100644
--- a/frontend/src/app/features/work-packages/components/back-routing/back-button.component.sass
+++ b/frontend/src/app/features/work-packages/components/back-routing/back-button.component.sass
@@ -9,7 +9,6 @@
font-size: 1rem
line-height: 22px
- &_mobile-full-width
+ &_mobile-limited-width
@media only screen and (max-width: 679px)
- width: 100%
- margin-bottom: 20px
+ width: 64px
diff --git a/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html b/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html
index ce479a113b9..ba769626b4c 100644
--- a/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html
+++ b/frontend/src/app/features/work-packages/routing/partitioned-query-space-page/partitioned-query-space-page.component.html
@@ -4,7 +4,7 @@
<div class="toolbar">
<op-back-button *ngIf="backButtonCallback"
class="op-back-button"
- linkClass="op-back-button_mobile-full-width"
+ linkClass="op-back-button_mobile-limited-width"
[customBackMethod]="backButtonCallback">
</op-back-button>
diff --git a/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.html b/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.html
index ea00bb95e1a..4be71ffd008 100644
--- a/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.html
+++ b/frontend/src/app/features/work-packages/routing/wp-full-view/wp-full-view.html
@@ -10,7 +10,7 @@
<div class="wp-show--header-container">
<op-back-button
- linkClass="work-packages-back-button op-back-button_mobile-full-width"
+ linkClass="work-packages-back-button op-back-button_mobile-limited-width"
>
</op-back-button>