Skip to content

Commit

Permalink
fix(inte): edit toggle buttons responsive + submenu icons
Browse files Browse the repository at this point in the history
  • Loading branch information
Alexis committed Sep 9, 2024
1 parent ef9bb9e commit 0109bd1
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 3 deletions.
2 changes: 1 addition & 1 deletion assets/dist/styles.min.css

Large diffs are not rendered by default.

1 change: 1 addition & 0 deletions assets/src/scss/04_components/_components.button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
display: flex;
align-items: center;
gap: $space-10;
z-index: 1;

&:hover {
background-color: var(--fm-button-bg-hover);
Expand Down
5 changes: 5 additions & 0 deletions assets/src/scss/04_components/_components.card-actions.scss
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,11 @@
transition: background-color var(--fm-transition-in-out);
width: 100%;

svg {
min-width: $space-16;
height: $space-16;
}

&:hover {
background-color: var(--fm-card-actions-button-bg-hover);
}
Expand Down
1 change: 1 addition & 0 deletions assets/src/scss/04_components/_components.submenu.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
transition: opacity var(--fm-transition-in-out);
opacity: 0;
pointer-events: none;
z-index: 1;

&.is-active {
opacity: 1;
Expand Down
4 changes: 2 additions & 2 deletions assets/src/scss/04_components/_components.toggle-buttons.scss
Original file line number Diff line number Diff line change
Expand Up @@ -9,14 +9,14 @@
align-items: center;
justify-content: center;
background-color: var(--fm-button-bg);
width: fit-content;
}

button {
padding: $space-10;

@include max-width(md) {
padding: 0;

//padding: 0;
svg path {
stroke: var(--fm-toggle-button-mob);
}
Expand Down

0 comments on commit 0109bd1

Please sign in to comment.