diff --git a/src/components/ConfirmationModal.vue b/src/components/ConfirmationModal.vue
index 5c74ff1cf0..42708a6c2b 100644
--- a/src/components/ConfirmationModal.vue
+++ b/src/components/ConfirmationModal.vue
@@ -4,7 +4,7 @@
-->
-
+
{{ title }}
@@ -14,8 +14,8 @@
diff --git a/src/components/TagItem.vue b/src/components/TagItem.vue
index 35710ba68c..5b2ab03de1 100644
--- a/src/components/TagItem.vue
+++ b/src/components/TagItem.vue
@@ -12,55 +12,57 @@
}">
{{ translateTagDisplayName(tag) }}
-
-
-
-
-
- {{ t('mail', 'Edit name or color') }}
-
-
-
-
-
-
-
-
-
- {{ t('mail', 'Saving new tag name …') }}
-
-
-
-
-
- {{ t('mail', 'Delete tag') }}
-
-
-
-
+
+
+
+
+
+
+ {{ t('mail', 'Edit name or color') }}
+
+
+
+
+
+
+
+
+
+ {{ t('mail', 'Saving new tag name …') }}
+
+
+
+
+
+ {{ t('mail', 'Delete tag') }}
+
+
+
+
+
@@ -172,7 +174,7 @@ export default {
return this.errorMessage !== ''
},
- async renameTag(tag, event) {
+ async renameTag(tag) {
this.currentTagName = this.currentTagName.trim()
const otherTags = this.mainStore.getTags
@@ -260,36 +262,48 @@ export default {
}
.tag-group {
- display: block;
- position: relative;
- margin: 0 1px;
- overflow: hidden;
-}
-
-.tag-actions {
- background-color: transparent;
- border: none;
- float: inline-end;
- &:hover,
- &:focus {
- background-color: var(--color-border-dark);
- }
+ display: flex;
+ align-items: center;
+ gap: var(--default-grid-baseline);
+ min-height: 44px;
+ padding-inline: var(--default-grid-baseline);
}
.tag-group__label {
- z-index: 2;
+ flex: 0 1 auto;
+ min-width: 0;
font-weight: bold;
border: none;
background-color: transparent;
padding-inline: 10px;
+ padding-block: 4px;
+ border-radius: var(--border-radius-pill);
overflow: hidden;
text-overflow: ellipsis;
- max-width: 94px;
+ white-space: nowrap;
+ text-align: start;
+ cursor: default;
+}
+
+.tag-group__actions {
+ margin-inline-start: auto;
+ display: flex;
+ align-items: center;
+ flex-shrink: 0;
}
-.action-item {
- inset-inline-end: 8px;
- float: inline-end;
+.tag-actions {
+ background-color: transparent;
+ border: none;
+ border-radius: var(--border-radius);
+ padding-inline: calc(var(--default-grid-baseline) * 2);
+ padding-block: var(--default-grid-baseline);
+ white-space: nowrap;
+ cursor: pointer;
+ &:hover,
+ &:focus {
+ background-color: var(--color-border-dark);
+ }
}
:deep(.input-field) {
diff --git a/src/components/TagModal.vue b/src/components/TagModal.vue
index cb3f8df4d8..8d44fdcc52 100644
--- a/src/components/TagModal.vue
+++ b/src/components/TagModal.vue
@@ -18,47 +18,51 @@
labelId="tag-modal-heading"
@close="onClose">
-
- {{ t('mail', 'Add default tags') }}
-
-
-
-
- {{ t('mail', 'Add tag') }}
-
-
-
-
-
-
+
+
+ {{ t('mail', 'Add default tags') }}
+
+
+
+
+
+
{{ t('mail', 'Add tag') }}
-
-
-
-
-
-
-
-
-
-
- {{ t('mail', 'Saving tag …') }}
-
+
+
+
+
+
+
+ {{ t('mail', 'Add tag') }}
+
+
+
+
+
+
+
+
+
+
+ {{ t('mail', 'Saving tag …') }}
+
+