Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: fix icons not aligned #7427

Merged
merged 1 commit into from
Oct 27, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/js/Shared/Form/PrettyButton.vue
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<template>
<button
:class="'dark:box-s relative border-zinc-900 bg-white text-sm dark:border-zinc-100 dark:bg-gray-800 dark:text-gray-100'"
:class="'dark:box-s relative border-zinc-900 bg-white text-sm dark:border-zinc-100 dark:bg-gray-800 dark:text-gray-100 flex'"
:disabled="state === 'loading' || state === 'disabled'"
type="submit">
<span v-if="state === 'loading'"> {{ $t('Loading…') }} </span>
Expand Down
8 changes: 4 additions & 4 deletions resources/js/Shared/Icons/ArrowIcon.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,14 @@ defineProps({
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="h-6 w-6 text-gray-600">
class="h-6 w-6 inline text-gray-600">
<path stroke-linecap="round" stroke-linejoin="round" d="M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" />
</svg>

<svg
v-if="type == 'right' && size == 'big'"
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6"
class="h-6 w-6 inline"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
Expand All @@ -36,14 +36,14 @@ defineProps({
viewBox="0 0 24 24"
stroke-width="1.5"
stroke="currentColor"
class="h-6 w-6 text-gray-600">
class="h-6 w-6 inline text-gray-600">
<path stroke-linecap="round" stroke-linejoin="round" d="M17.25 8.25L21 12m0 0l-3.75 3.75M21 12H3" />
</svg>

<svg
v-if="type == 'left' && size == 'big'"
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6"
class="h-6 w-6 inline"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor"
Expand Down
2 changes: 1 addition & 1 deletion resources/js/Shared/Icons/CheckedIcon.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<svg
xmlns="http://www.w3.org/2000/svg"
class="h-6 w-6 text-green-700"
class="h-6 w-6 inline text-green-700"
fill="none"
viewBox="0 0 24 24"
stroke="currentColor">
Expand Down