Skip to content

Commit

Permalink
Update examples
Browse files Browse the repository at this point in the history
  • Loading branch information
nathanreyes committed Mar 13, 2021
1 parent 6539419 commit ce7584b
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 6 deletions.
2 changes: 1 addition & 1 deletion docs/.vuepress/components/homepage/custom-calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -10,14 +10,14 @@
:attributes="attributes"
disable-page-swipe
is-expanded
show-weeknumbers
>
<template v-slot:day-content="{ day, attributes }">
<div class="flex flex-col h-full z-10 overflow-hidden">
<span class="day-label text-sm text-gray-900">{{ day.day }}</span>
<div class="flex-grow overflow-y-auto overflow-x-auto">
<p
v-for="attr in attributes"
:key="attr.key"
class="text-xs leading-tight rounded-sm p-1 mt-0 mb-1"
:class="attr.customData.class"
>
Expand Down
6 changes: 1 addition & 5 deletions docs/.vuepress/components/homepage/multi-calendar.vue
Original file line number Diff line number Diff line change
Expand Up @@ -5,11 +5,7 @@
Responsive multi-row and column layouts
</h3>
<div class="flex justify-center">
<v-calendar
show-weeknumbers="outside"
:rows="2"
:columns="$screens({ default: 1, lg: 2 })"
/>
<v-calendar :rows="2" :columns="$screens({ default: 1, lg: 2 })" />
</div>
</div>
</template>

0 comments on commit ce7584b

Please sign in to comment.