Skip to content

Commit

Permalink
Remove dead SCSS code from ActionList (#1486)
Browse files Browse the repository at this point in the history
* remove dead code

* Create shiny-kangaroos-enjoy.md

* add back mixin

* lint
  • Loading branch information
langermank authored Oct 12, 2022
1 parent ef716b5 commit 9a936bd
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 5 deletions.
5 changes: 5 additions & 0 deletions .changeset/shiny-kangaroos-enjoy.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@primer/view-components": patch
---

Remove dead SCSS code from ActionList
9 changes: 4 additions & 5 deletions app/components/primer/alpha/action_list/action-list.pcss
Original file line number Diff line number Diff line change
Expand Up @@ -185,11 +185,11 @@
visibility: hidden;
}

/* blue accent line
/* blue accent line */

&::after {
@include activeIndicatorLine(-$spacer-1);
@mixin activeIndicatorLine
} */
@mixin activeIndicatorLine calc(-1 * var(--base-size-4, 4px));
}
}

/* active state [aria-current] */
Expand Down Expand Up @@ -557,7 +557,6 @@
/* with children */
&:not(:empty) {
display: flex;
padding: ($spacer-1 * 1.5) $spacer-2;
padding-inline: var(--primer-actionListContent-paddingBlock);
padding-block: var(--base-size-8, 8px);
font-size: var(--primer-text-body-size-small, 12px);
Expand Down

0 comments on commit 9a936bd

Please sign in to comment.