Skip to content

Commit

Permalink
Adjust icon CSS styling to match expected site design
Browse files Browse the repository at this point in the history
  • Loading branch information
Ticolyle committed Jan 10, 2024
1 parent 679a80e commit dec9ca6
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/assets/scss/base/_button.scss
Original file line number Diff line number Diff line change
Expand Up @@ -135,6 +135,7 @@
gap: 0.5rem;

[data-icon] {
height: auto;
width: 30px;
}
}
Expand Down
1 change: 1 addition & 0 deletions src/components/Feature.astro
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ const { icon = 'mdi:rocket', title = 'Title' } = Astro.props
}

:global(.feature [data-icon]) {
height: auto;
width: 4rem;
color: var(--action-color);
}
Expand Down
1 change: 1 addition & 0 deletions src/components/Header.astro
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ import { Icon } from 'astro-icon/components'
display: block;

[data-icon] {
height: auto;
margin-top: -4px;
width: 30px;

Expand Down

0 comments on commit dec9ca6

Please sign in to comment.