Replace some bootstrap utility classes with tailwind ones

This commit is contained in:
Alejandro Celaya
2025-04-05 11:48:24 +02:00
parent bd034c11b6
commit d188d67c5a
6 changed files with 15 additions and 65 deletions

View File

@@ -2,67 +2,27 @@
exports[`<DeleteServerButton /> > renders expected content 1`] = `
<button
class="p-0 bg-transparent border-0"
class="tw:text-danger tw:hover:underline"
type="button"
>
<span
class="button"
>
Foo bar
</span>
Foo bar
</button>
`;
exports[`<DeleteServerButton /> > renders expected content 2`] = `
<button
class="p-0 bg-transparent border-0"
class="tw:text-danger tw:hover:underline"
type="button"
>
<span
class="button"
>
baz
</span>
baz
</button>
`;
exports[`<DeleteServerButton /> > renders expected content 3`] = `
<button
class="p-0 bg-transparent border-0"
class="tw:text-danger tw:hover:underline"
type="button"
>
<span
class="button"
>
something
</span>
</button>
`;
exports[`<DeleteServerButton /> > renders expected content 4`] = `
<button
class="p-0 bg-transparent border-0"
type="button"
>
<svg
aria-hidden="true"
class="svg-inline--fa fa-circle-minus fa-fw "
data-icon="circle-minus"
data-prefix="fas"
focusable="false"
role="img"
viewBox="0 0 512 512"
xmlns="http://www.w3.org/2000/svg"
>
<path
d="M256 512A256 256 0 1 0 256 0a256 256 0 1 0 0 512zM184 232l144 0c13.3 0 24 10.7 24 24s-10.7 24-24 24l-144 0c-13.3 0-24-10.7-24-24s10.7-24 24-24z"
fill="currentColor"
/>
</svg>
<span
class="button"
>
Remove this server
</span>
something
</button>
`;