Details
-
Bug
-
Resolution: Fixed
-
Low
-
5.1.2
-
None
Description
Description
Currently the 'Product Requirements' blueprint icon has the same specificity as the default icon listed in the sidebar resource:
- Blueprint main.css: .acs-nav-item.blueprint.requirements .icon
- Sidebar sidebar-icons.css: .acs-nav-item.pinned_page.blueprint .icon
In order for the blueprint style to override the sidebar css, the sidebar resources are being loaded first by being included as a dependency in the plugin descriptor. This means that all he sidebar resources are loaded despite the sidebar not being present on certain pages (e.g. Dashboard)
Fix
Increase the specificity of the blueprint icon so it is not dependent on load order. This can be done by modifying com/atlassian/confluence/plugins/requirements/css/main.css in confluence-software-blueprints from ".acs-nav-item.blueprint.requirements .icon" to ".acs-nav-item.pinned_page.blueprint.requirements .icon".
The spacesidebar dependency can then be removed from atlassian-plugin.xml