OpenProject is the leading open source project management software for product, project and portfolio management. A powerful Jira alternative with agile planning, issue tracking, roadmaps, Gantt charts, time tracking, collaboration features, and more. Available on premises or in the cloud. ⭐ Star us on GitHub
Ruby agile-developmentangularbcfboardsbug-trackerganttgantt-chartifcissue-trackerjira-alternativekanbanopenprojectproduct-managementproject-managementproject-planningroadmaprubyscrumtimelineworkflows
removed negative margin from icons in spot links
Eric Schubertef0c9e191b17
diff --git a/frontend/src/app/spot/spot-docs.component.html b/frontend/src/app/spot/spot-docs.component.htmlindex 93da1e4c408..3786a100a3c 100644--- a/frontend/src/app/spot/spot-docs.component.html+++ b/frontend/src/app/spot/spot-docs.component.html@@ -58,6 +58,10 @@<span>Default Link</span><span class="spot-icon spot-icon_bell"></span></a>+ <a class="spot-link" href="#">+ <span class="spot-icon spot-icon_bell"></span>+ <span>Default Link</span>+ </a><button class="spot-link"><span class="spot-icon spot-icon_bell"></span></button></section>@@ -67,6 +71,10 @@<span>Danger Link</span><span class="spot-icon spot-icon_bell"></span></a>+ <a class="spot-link spot-link_danger" href="#">+ <span class="spot-icon spot-icon_bell"></span>+ <span>Danger Link</span>+ </a><button class="spot-link spot-link_danger"><span class="spot-icon spot-icon_bell"></span></button></section>diff --git a/frontend/src/app/spot/styles/sass/components/link.sass b/frontend/src/app/spot/styles/sass/components/link.sassindex 5a4081c2de3..0ea4283db9b 100644--- a/frontend/src/app/spot/styles/sass/components/link.sass+++ b/frontend/src/app/spot/styles/sass/components/link.sass@@ -30,21 +30,12 @@width: $spot-spacing-1_5height: $spot-spacing-1_5- &:first-child- margin-left: -$spot-spacing-0_25-- &:not(:last-child)+ &:first-child:not(:last-child)margin-right: $spot-spacing-0_25- &:last-child- margin-right: -$spot-spacing-0_25-- &:not(:first-child)+ &:last-child:not(:first-child)margin-left: $spot-spacing-0_25- &:first-child:last-child- margin: 0 -$spot-spacing-0_5-// Ensure op-icon within a link gets inline-block// to avoid it receiving any text-decoration on hover.op-icon--wrapper