Skip to content

Commit

Permalink
Mobile Remove Underline
Browse files Browse the repository at this point in the history
  • Loading branch information
haydncomley committed Jan 12, 2024
1 parent ea38287 commit b877ef4
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/components/common/NavigationItem.astro
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ const { href, label, index } = Astro.props;
</li>

<style lang="scss" define:vars={{ index: `${(index * 0.05) }s` }}>
@use "easy-theme" as theme;

@keyframes softBlink {
0% {
opacity: .8;
Expand Down Expand Up @@ -69,7 +71,12 @@ const { href, label, index } = Astro.props;
background-color: var(--contrast);
transform: translateY(.5em);
transition: var(--transition);

@include theme.Mobile {
content: none;
}
}

}

span {
Expand Down

0 comments on commit b877ef4

Please sign in to comment.