[FE] Improve button created on previous commit

This commit is contained in:
Araozu 2023-09-23 12:37:06 -05:00
parent a39059d74d
commit 2df8aa383c

View File

@ -93,13 +93,16 @@ export function Registers(props: {person: Person | null, count: number}) {
<div class="m-4 p-4 rounded-md relative">
<h3 class="text-xl font-medium">
<button
class="bg-c-primary inline-block w-8 h-8 mr-2 rounded-full
disabled:opacity-25 disabled:cursor-not-allowed"
class="bg-c-primary text-c-on-primary inline-block mr-2 rounded-full
disabled:opacity-25 disabled:cursor-not-allowed px-2"
disabled={todayRegisters().length === 0}
title="Descargar todos los cert. creados hoy"
onclick={downloadTodayCerts}
>
<DownloadSimpleIcon fill="var(--c-on-primary)" size={24} />
<span class="text-sm">
&nbsp;hoy
</span>
</button>
{props.person?.person_names}&nbsp;
{props.person?.person_paternal_surname}&nbsp;