diff --git a/assets/stylesheets/tags.css b/assets/stylesheets/tags.css index bf999c3..f9e5cb6 100755 --- a/assets/stylesheets/tags.css +++ b/assets/stylesheets/tags.css @@ -1,20 +1,3 @@ -#admin-menu a.additional-tags::before { - font-family: 'Font Awesome 5 Free'; - font-size: 1.2em; - font-weight: 900; - content: '\f02c'; /* fas fa-tags */ - padding-right: 4px; -} - -#admin-menu a.additional-tags { - padding-left: 0; -} - -/* Mobile menu style FontAwesome icon */ -.flyout-is-active #admin-menu li a.additional-tags { - padding-left: 8px !important; -} - ul.tags { list-style: none; padding: 0; diff --git a/init.rb b/init.rb index 56a83cf..7730966 100644 --- a/init.rb +++ b/init.rb @@ -27,7 +27,9 @@ menu :admin_menu, :additional_tags, { controller: 'settings', action: 'plugin', id: 'additional_tags' }, - caption: :field_tags + caption: :field_tags, + plugin: 'additionals', + icon: 'tags' end RedminePluginKit::Loader.persisting { loader.load_model_hooks! }