Skip to content

Commit

Permalink
feat(bento-grid-item): move text to top
Browse files Browse the repository at this point in the history
  • Loading branch information
aspiryx committed Sep 18, 2024
1 parent 3f2377f commit 5394df9
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions components/bento-grid/BentoGridItem.vue
Original file line number Diff line number Diff line change
Expand Up @@ -33,12 +33,12 @@ export default {
v-bind="$attrs"
>
<span
class="title group-hover:text-opacity-100"
class="title group-hover:text-opacity-100 absolute top-4 left-5"
>
{{ title }}
</span>
<span
class="subtitle text-zinc-600 group-hover:text-opacity-80 font-medium text-lg absolute bottom-4 right-4"
class="subtitle text-zinc-600 group-hover:text-opacity-80 font-medium text-lg absolute top-4 right-6"
>
{{ subtitle }}
</span>
Expand Down

0 comments on commit 5394df9

Please sign in to comment.