Skip to content

Commit

Permalink
fix(Link): add missing inactive-class on button and a
Browse files Browse the repository at this point in the history
  • Loading branch information
benjamincanac committed Apr 20, 2022
1 parent 18c194e commit 035919a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/runtime/components/elements/Link.vue
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
<template>
<button v-if="isButton" v-bind="$attrs">
<button v-if="isButton" v-bind="$attrs" :class="inactiveClass">
<slot />
</button>
<a v-else-if="isExternalLink" v-bind="$attrs" :href="to" :target="target">
<a v-else-if="isExternalLink" v-bind="$attrs" :href="to" :target="target" :class="inactiveClass">
<slot />
</a>
<router-link
Expand Down

1 comment on commit 035919a

@vercel
Copy link

@vercel vercel bot commented on 035919a Apr 20, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

ui – ./

ui-git-dev-nuxtlabs.vercel.app
ui-nuxtlabs.vercel.app
nuxthq-ui.vercel.app

Please sign in to comment.