Skip to content

Commit

Permalink
chore: visual bug fixes to the close icon button
Browse files Browse the repository at this point in the history
  • Loading branch information
nickonometry committed Feb 21, 2024
1 parent 07be525 commit f496f14
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 9 deletions.
15 changes: 8 additions & 7 deletions src/lib/stack/stack.scss
Original file line number Diff line number Diff line change
Expand Up @@ -23,43 +23,44 @@
}
}

:host([stretch]) {
:host([stretch]) {
::slotted(*) {
@include override(stretch, 1, value);
}
}

:host([alignment="start"]) {
:host([alignment=start]) {
.forge-stack {
//override stretch css prop
@include align-start;
}
}

:host([alignment="center"]) {
:host([alignment=center]) {
.forge-stack {
@include align-center;
}
}

:host([alignment="end"]) {
:host([alignment=end]) {
.forge-stack {
@include align-end;
}
}

:host([justify="start"]) {
:host([justify=start]) {
.forge-stack {
@include justify-start;
}
}

:host([justify="center"]) {
:host([justify=center]) {
.forge-stack {
@include justify-center;
}
}

:host([justify="end"]) {
:host([justify=end]) {
.forge-stack {
@include justify-end;
}
Expand Down
2 changes: 0 additions & 2 deletions src/lib/stack/stack.ts
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ declare global {
}

/**
* The custom element class behind the `<forge-stack>` component.
*
* @tag forge-stack
*/
@CustomElement({
Expand Down

0 comments on commit f496f14

Please sign in to comment.