🐛 Fixed tippy when viewing public quizzes
This commit is contained in:
@@ -89,13 +89,14 @@
|
|||||||
{$t('words.start')}
|
{$t('words.start')}
|
||||||
</button>
|
</button>
|
||||||
{:else}
|
{:else}
|
||||||
<button
|
<div use:tippy={{ content: 'You need to be logged in to start a game' }}>
|
||||||
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"
|
<button
|
||||||
disabled
|
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"
|
||||||
use:tippy={{ content: 'You need to be logged in to start a game' }}
|
disabled
|
||||||
>
|
>
|
||||||
{$t('words.start')}
|
{$t('words.start')}
|
||||||
</button>
|
</button>
|
||||||
|
</div>
|
||||||
{/if}
|
{/if}
|
||||||
</div>
|
</div>
|
||||||
<div class="flex justify-center">
|
<div class="flex justify-center">
|
||||||
|
|||||||
Reference in New Issue
Block a user