Skip to content

Commit

Permalink
style: fix typos and improve texts
Browse files Browse the repository at this point in the history
  • Loading branch information
PauloUbirajara committed Apr 28, 2024
1 parent 0e203d9 commit cf1f68b
Show file tree
Hide file tree
Showing 6 changed files with 9 additions and 16 deletions.
5 changes: 2 additions & 3 deletions src/components/model/ModelList.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,6 @@
import { navigating, page } from "$app/stores";
import {
TextPlaceholder,
ButtonGroup,
Button,
Table,
TableHead,
Expand Down Expand Up @@ -103,7 +102,7 @@
<SearchOutline class="w-6 h-6" />
</Button>
</form>
<ButtonGroup>
<div class="flex items-stretch gap-4">
<Button color="primary" on:click={() => onAdd()}>
<PlusOutline class="w-4 h-4 me-2" />
Adicionar
Expand All @@ -117,7 +116,7 @@
<TrashBinSolid class="w-4 h-4 me-2" />
Deletar
</Button>
</ButtonGroup>
</div>
</div>
{#if !response.count}
<P align="center">Sem resultados.</P>
Expand Down
3 changes: 1 addition & 2 deletions src/routes/app/categories/CategoryAddDrawer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -72,8 +72,7 @@
/>
</div>
<Button type="submit" class="w-full">
<PlusOutline class="w-3.5 h-3.5 me-2.5" />
Criar categoria
Salvar categoria
</Button>
</form>
</Drawer>
3 changes: 1 addition & 2 deletions src/routes/app/transactions/TransactionAddDrawer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -155,8 +155,7 @@
</div>

<Button type="submit" class="w-full">
<PlusOutline class="w-3.5 h-3.5 me-2.5" />
Criar transação
Salvar transação
</Button>
</form>
</Drawer>
3 changes: 1 addition & 2 deletions src/routes/app/wallets/WalletAddDrawer.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -111,8 +111,7 @@
</Select>
</div>
<Button type="submit" class="w-full">
<PlusOutline class="w-3.5 h-3.5 me-2.5" />
Criar carteira
Salvar carteira
</Button>
</form>
</Drawer>
4 changes: 2 additions & 2 deletions src/routes/auth/register/ConfirmAccountForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@
<Heading tag="h3" class="text-custom-foreground">Confirme sua conta</Heading>
<div class="flex flex-col gap-4">
<P>Enviamos um link de confirmação para o e-mail fornecido.</P>
<P
>Após confirmá-lo, sua conta será ativada e você poderá acessar à
<P>
Após confirmá-lo, sua conta será ativada e você poderá acessar à
plataforma.</P
>
</div>
Expand Down
7 changes: 2 additions & 5 deletions src/routes/auth/register/RegisterForm.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -167,9 +167,6 @@
>{formMessages.errors.password.join(", ")}</Helper
>
{/if}
{#if credentials.password.length && !hasConfirmedPassword}
<Helper class="mt-2" color="red">Senhas não coincidem</Helper>
{/if}
</div>
<div>
<Label for="confirmPassword">Confirmar Senha</Label>
Expand All @@ -194,7 +191,7 @@
{/if}
</button>
</Input>
{#if credentials.confirmPassword.length && !hasConfirmedPassword}
{#if credentials.password.length && !hasConfirmedPassword}
<Helper class="mt-2" color="red">Senhas não coincidem</Helper>
{/if}
</div>
Expand All @@ -203,7 +200,7 @@
{#if loading}
<Spinner class="me-3" size="4" color="white" />
{:else}
Acessar
Criar
{/if}
</Button>
</form>
Expand Down

0 comments on commit cf1f68b

Please sign in to comment.