Skip to content

Commit

Permalink
🎨 tweak our toast close button just slightly
Browse files Browse the repository at this point in the history
  • Loading branch information
acidjazz committed Dec 10, 2021
1 parent 9609dab commit 770744d
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion playground/src/App.vue
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
<div class="w-0.5 h-8 bg-gray-600 dark:bg-gray-300 mx-2" />
<Icon icon="logos-tailwindcss-icon" class="w-8 h-8" />
</div>
<button @click="toggleDark" class="text-gray-800 dark:text-white">
<button @click="toggleDark" class="text-gray-800 dark:text-white w-8 h-8 flex items-center justify-center rounded-full">
<icon icon="carbon-moon" v-if="isDark" class="w-6 h-6" />
<icon icon="carbon-sun" v-else class="w-6 h-6" />
</button>
Expand Down
2 changes: 1 addition & 1 deletion src/GlobalToast.vue
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@
<p v-if="title" class="text-sm leading-5 font-medium">{{ title }}</p>
<p :class="{'mt-1': title}" class="text-sm leading-5" v-html="message"></p>
</div>
<div class="ml-4 flex-shrink-0 flex">
<div class="ml-4 flex-shrink-0 flex mt-0.5">
<global-toast-close @close="destroy(true)"/>
</div>
</div>
Expand Down

0 comments on commit 770744d

Please sign in to comment.