diff --git a/src/app/features/tasks/add-task-bar/add-task-bar-actions/add-task-bar-actions.component.html b/src/app/features/tasks/add-task-bar/add-task-bar-actions/add-task-bar-actions.component.html
index 9c1761062c..a201f72da8 100644
--- a/src/app/features/tasks/add-task-bar/add-task-bar-actions/add-task-bar-actions.component.html
+++ b/src/app/features/tasks/add-task-bar/add-task-bar-actions/add-task-bar-actions.component.html
@@ -42,164 +42,174 @@
@if (!isHideDueBtn()) {
-
-
- @if (state().date) {
+
- }
+
+ @if (state().date) {
+
+ }
+
}
@if (state().deadlineDate) {
-
-
-
- }
-
- @if (!isHideTagBtn() && allTags().length) {
-
-
- @if (hasTagsSelected() || hasNewTags()) {
+ close
+
+
+ }
+
+ @if (!isHideTagBtn() && allTags().length) {
+
+
0"
+ [matMenuTriggerFor]="tagsMenu"
+ [class.has-value]="hasTagsSelected() || hasNewTags()"
+ [class.has-new-tags]="hasNewTags()"
+ [class.menu-open]="isTagsMenuOpen()"
+ (click)="onTagsMenuClick()"
+ >
+
+ 0"
+ >label
+
+ @if (!hasTagsSelected() && state().newTagTitles.length === 0) {
+
+ {{ T.F.TASK.ADD_TASK_BAR.TAGS_BUTTON | translate }}
+
+ } @else {
+
+ }
+
+
+ @if (hasTagsSelected() || hasNewTags()) {
+
+ close
+
+ }
+
+ }
+
+
+
+ hourglass_empty
+ {{
+ estimateDisplay() || (T.F.TASK.ADD_TASK_BAR.ESTIMATE_BUTTON | translate)
+ }}
+
+
+ @if (state().estimate) {
+
close
}
- }
+
-
- hourglass_empty
- {{
- estimateDisplay() || (T.F.TASK.ADD_TASK_BAR.ESTIMATE_BUTTON | translate)
- }}
-
-
- @if (state().estimate) {
+
- close
+ repeat
+ {{
+ repeatDisplay() || (T.F.TASK.ADD_TASK_BAR.REPEAT_BUTTON | translate)
+ }}
- }
-
- repeat
- {{
- repeatDisplay() || (T.F.TASK.ADD_TASK_BAR.REPEAT_BUTTON | translate)
- }}
-
-
- @if (state().repeatQuickSetting) {
-
- close
-
- }
+ @if (state().repeatQuickSetting) {
+
+ close
+
+ }
+
diff --git a/src/app/features/tasks/add-task-bar/add-task-bar-actions/add-task-bar-actions.component.scss b/src/app/features/tasks/add-task-bar/add-task-bar-actions/add-task-bar-actions.component.scss
index 99f8059b46..a6bd8095d5 100644
--- a/src/app/features/tasks/add-task-bar/add-task-bar-actions/add-task-bar-actions.component.scss
+++ b/src/app/features/tasks/add-task-bar/add-task-bar-actions/add-task-bar-actions.component.scss
@@ -64,6 +64,22 @@
gap: var(--s-quarter);
}
+ // On smaller screens, wrap the actions onto multiple rows instead of hiding
+ // them behind a horizontal scroll, so every button stays reachable.
+ @include mq(xs, max) {
+ flex-wrap: wrap;
+ overflow-x: visible;
+ gap: var(--s-quarter);
+ }
+
+ // Keeps an action button and its "clear" button together so a paired button
+ // never wraps away from the button it belongs to.
+ .action-item {
+ display: flex;
+ flex-shrink: 0;
+ align-items: center;
+ }
+
.action-btn {
cursor: pointer;
opacity: 0.4;