fix(frontend): use consistent spinner style on TitleCard/Plex Presets

This commit is contained in:
sct
2021-02-02 07:50:48 +00:00
parent e34fbf72fd
commit cf7ebc488d
2 changed files with 18 additions and 28 deletions

View File

@@ -179,20 +179,7 @@ const TitleCard: React.FC<TitleCardProps> = ({
leaveTo="opacity-0"
>
<div className="absolute top-0 bottom-0 left-0 right-0 z-40 flex items-center justify-center text-white bg-gray-800 bg-opacity-75 rounded-lg">
<svg
className="w-10 h-10 animate-spin"
fill="none"
stroke="currentColor"
viewBox="0 0 24 24"
xmlns="http://www.w3.org/2000/svg"
>
<path
strokeLinecap="round"
strokeLinejoin="round"
strokeWidth={2}
d="M4 4v5h.582m15.356 2A8.001 8.001 0 004.582 9m0 0H9m11 11v-5h-.581m0 0a8.003 8.003 0 01-15.357-2m15.357 2H15"
/>
</svg>
<Spinner className="w-10 h-10" />
</div>
</Transition>