Skip to content

Commit

Permalink
fix(sidebar-nav-collapsible): proper opacity for chevron (#840)
Browse files Browse the repository at this point in the history
  • Loading branch information
nowseemee authored Feb 2, 2022
1 parent fad731e commit 363cbcc
Show file tree
Hide file tree
Showing 3 changed files with 2 additions and 3 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@
*/

:host {
--opacity-chevron: 1;
--border-bottom-color: var(--scl-color-grey-10);
--border-left-color-third-nesting: var(--scl-color-grey-70);
--color-active: var(--scl-color-primary-active);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
--max-width: 15rem;
--spacing-indent: var(--scl-spacing-24);
--spacing-collapsible: var(--scl-spacing-16);
--opacity-chevron: 0;
--left-current-border: 0;

--color: var(--scl-color-primary);
Expand All @@ -27,7 +26,6 @@
.sidebar-nav--collapsible {
--max-width: none;
--spacing-indent: 0;
--opacity-chevron: 1;
--left-current-border: calc(-1 * var(--spacing-collapsible));

padding-right: var(--spacing-collapsible);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -161,7 +161,6 @@ export const Template = (args, { argTypes }) => ({
--max-width: 15rem;
--spacing-indent: var(--scl-spacing-24);
--spacing-collapsible: var(--scl-spacing-16);
--opacity-chevron: 0;
--left-current-border: 0;

--color: var(--scl-color-primary);
Expand All @@ -174,6 +173,7 @@ export const Template = (args, { argTypes }) => ({

/* sidebar-nav-collapsible */
:host {
--opacity-chevron: 1;
--border-bottom-color: var(--scl-color-grey-10);
--border-left-color-third-nesting: var(--scl-color-grey-70);
--color-active: var(--scl-color-primary-active);
Expand Down

0 comments on commit 363cbcc

Please sign in to comment.