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

Show toolbar icons on mobile

Inga Maidddcf1c3cd08
diff --git a/app/assets/stylesheets/layout/_toolbar_mobile.sass b/app/assets/stylesheets/layout/_toolbar_mobile.sass
index f01572af75e..c542b9b4cc0 100644
--- a/app/assets/stylesheets/layout/_toolbar_mobile.sass
+++ b/app/assets/stylesheets/layout/_toolbar_mobile.sass
@@ -31,14 +31,19 @@
.toolbar-container
margin-top: 10px
+ .toolbar
+ flex-wrap: nowrap
+
.title-container
margin-right: 10px
.toolbar-items
display: flex
- flex-wrap: wrap
+ flex-wrap: nowrap
justify-content: flex-end
- width: calc(100% + 10px)
+
+ .op-icon--wrapper
+ margin: 0
> li
.button
diff --git a/frontend/src/app/components/wp-buttons/wp-create-button/wp-create-button.html b/frontend/src/app/components/wp-buttons/wp-create-button/wp-create-button.html
index abc5307e9a3..e925f3a7dd4 100644
--- a/frontend/src/app/components/wp-buttons/wp-create-button/wp-create-button.html
+++ b/frontend/src/app/components/wp-buttons/wp-create-button/wp-create-button.html
@@ -7,9 +7,9 @@
[stateName]="stateName"
[dropdownActive]="allowed">
<op-icon icon-classes="button--icon icon-add"></op-icon>
- <span class="button--text"
+ <span class="button--text hidden-for-mobile"
[textContent]="text.createWithDropdown"
aria-hidden="true"></span>
- <op-icon icon-classes="button--icon icon-small icon-pulldown"></op-icon>
+ <op-icon icon-classes="button--icon icon-small icon-pulldown hidden-for-mobile"></op-icon>
</button>
</div>
diff --git a/frontend/src/app/components/wp-buttons/wp-filter-button/wp-filter-button.html b/frontend/src/app/components/wp-buttons/wp-filter-button/wp-filter-button.html
index c6616a2b73a..2ea838f142d 100644
--- a/frontend/src/app/components/wp-buttons/wp-filter-button/wp-filter-button.html
+++ b/frontend/src/app/components/wp-buttons/wp-filter-button/wp-filter-button.html
@@ -7,7 +7,7 @@
(click)="performAction($event)"
[ngClass]="{ '-active': isActive }">
<op-icon icon-classes="{{ iconClass }} button--icon"></op-icon>
- <span class="button--text">
+ <span class="button--text hidden-for-mobile">
{{ buttonText }}
<span class="badge -secondary" *ngIf="initialized" [textContent]="filterCount"></span>
</span>
diff --git a/frontend/src/app/modules/work_packages/routing/wp-list/wp.list.component.html b/frontend/src/app/modules/work_packages/routing/wp-list/wp.list.component.html
index a1f9bcfec66..663f7c0c86c 100644
--- a/frontend/src/app/modules/work_packages/routing/wp-list/wp.list.component.html
+++ b/frontend/src/app/modules/work_packages/routing/wp-list/wp.list.component.html
@@ -25,7 +25,7 @@
*ngIf="bcfActivated()">
<bcf-export-button></bcf-export-button>
</li>
- <li class="toolbar-item hidden-for-mobile">
+ <li class="toolbar-item">
<wp-filter-button>
</wp-filter-button>
</li>
@@ -45,7 +45,7 @@
<zen-mode-toggle-button>
</zen-mode-toggle-button>
</li>
- <li class="toolbar-item hidden-for-mobile">
+ <li class="toolbar-item">
<button id="work-packages-settings-button"
title="{{ text.button_settings }}"
class="button last work-packages-settings-button toolbar-icon"