🐛 Fixed tippy when viewing public quizzes

This commit is contained in:
Mawoka
2022-08-25 18:26:40 +02:00
parent 5033118517
commit 5578d12eb1
@@ -89,13 +89,14 @@
{$t('words.start')} {$t('words.start')}
</button> </button>
{:else} {:else}
<div use:tippy={{ content: 'You need to be logged in to start a game' }}>
<button <button
class="px-4 py-2 leading-5 text-white transition-colors duration-200 transform bg-gray-700 rounded text-center hover:bg-gray-600 focus:outline-none cursor-not-allowed opacity-50" class="px-4 py-2 leading-5 text-white transition-colors duration-200 transform bg-gray-700 rounded text-center hover:bg-gray-600 focus:outline-none cursor-not-allowed opacity-50"
disabled disabled
use:tippy={{ content: 'You need to be logged in to start a game' }}
> >
{$t('words.start')} {$t('words.start')}
</button> </button>
</div>
{/if} {/if}
</div> </div>
<div class="flex justify-center"> <div class="flex justify-center">