From 0c9b1987d119f02a09ec85f79872ac6b8664915a Mon Sep 17 00:00:00 2001 From: Alexander Meindl Date: Tue, 19 Nov 2024 10:49:08 +0100 Subject: [PATCH] #12953 working on dashboard block titles #12953 --- .stylelintrc.json | 5 +++++ app/views/dashboards/blocks/_issue_tags.html.slim | 3 ++- 2 files changed, 7 insertions(+), 1 deletion(-) diff --git a/.stylelintrc.json b/.stylelintrc.json index 2581f6e..fa61b92 100644 --- a/.stylelintrc.json +++ b/.stylelintrc.json @@ -3,6 +3,11 @@ "rules": { "string-quotes": "single", "selector-class-pattern": "^([a-z][a-z0-9]*)(-[a-z0-9]+)*$|block_column", + "declaration-property-unit-disallowed-list": { + "font-size": [ + "px" + ] + }, "font-family-no-missing-generic-family-keyword": [ true, { diff --git a/app/views/dashboards/blocks/_issue_tags.html.slim b/app/views/dashboards/blocks/_issue_tags.html.slim index debfc42..41774e5 100644 --- a/app/views/dashboards/blocks/_issue_tags.html.slim +++ b/app/views/dashboards/blocks/_issue_tags.html.slim @@ -1,4 +1,5 @@ -h3 = block_definition[:label] +h3.icon + = svg_icon_tag 'tags', label: block_definition[:label] - open_issues_only = RedminePluginKit.true? settings[:open_issues_only] - tags = Issue.available_tags(project: @project, open_issues_only:)