Skip to content

Commit

Permalink
Update style to match latest changes to resource navigation tab packa…
Browse files Browse the repository at this point in the history
…ge (#31)
  • Loading branch information
milewski authored Sep 29, 2023
1 parent bfee3ec commit df324a5
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 10 deletions.
2 changes: 1 addition & 1 deletion dist/css/card.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/js/card.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

11 changes: 3 additions & 8 deletions resources/js/components/ResourceNavigationLink.vue
Original file line number Diff line number Diff line change
Expand Up @@ -2,15 +2,15 @@

<div class="resource-navigation-link">

<Card class="flex flex-row items-center justify-center">
<Card class="whitespace-nowrap overflow-x-auto flex flex-row items-center md:justify-center">

<component
v-for="(link, key) of card.links"
:is="component(link)"
:key="key"
:href="link.url"
:target="target(link)"
class="p-6 flex-1 text-center cursor-pointer leading-tight text-sm transition"
class="p-4 pt-6 flex-1 text-center cursor-pointer leading-tight text-sm transition"
:class="[
{ 'border-b-2 first:rounded-l-lg last:rounded-r-lg': true },
{ 'hover:border-[rgba(var(--colors-primary-500))]': true },
Expand All @@ -31,11 +31,7 @@
<script>
export default {
props: [
'card'
],
props: [ 'card' ],
setup() {
return {
Expand All @@ -45,7 +41,6 @@
}
},
}
</script>
Expand Down

0 comments on commit df324a5

Please sign in to comment.