diff --git a/public/css/tags.css b/public/css/tags.css index f7a2ad918..b97e4c1fc 100644 --- a/public/css/tags.css +++ b/public/css/tags.css @@ -1,4 +1,4 @@ -:is(.tag_notice, .tag_inwork, .tag_planning, .tag_prio_one, .tag_prio_two, .tag_finished) { +:is(.tag_notice, .tag_inwork, .tag_planning, .tag_prio_one, .tag_prio_two, .tag_finished, .display_all) { display: inline-block; padding: 5px 10px; margin-right: 5px; @@ -13,7 +13,7 @@ } :is(.tag_notice, .tag_inwork, .tag_planning, .tag_prio_one, .tag_prio_two, .tag_finished):hover { - transform: scale(1.05); + transform: scale(1.15); } .tag_notice { @@ -41,6 +41,11 @@ color: black; } +.display_all { + background-color: darkgrey !important; + border: none; +} + .dropdown-list { list-style: none; @@ -62,18 +67,6 @@ opacity: 0.5; } -.plus-more-tags { - font-weight: bold; - color: #007bff; - cursor: pointer; -} - -.all-tags-modal-content { - display: flex; - flex-direction: column; - gap: 0.5rem; -} - .tag-done { text-decoration: line-through; } diff --git a/public/js/components/Tag/Tag.js b/public/js/components/Tag/Tag.js index 52d919a68..c4a3f0846 100644 --- a/public/js/components/Tag/Tag.js +++ b/public/js/components/Tag/Tag.js @@ -95,7 +95,11 @@ export default { this.tagData.notiz = ""; this.mode = "create"; } - this.$refs.tagModal.show(); + + if (this.mode === "create" && item.tag) + this.saveTag() + else + this.$refs.tagModal.show(); }, async saveTag() {