refactor: streamline Svelte components and enhance user feedback
- Refactored multiple Svelte components, including AprovarAusencias, AprovarFerias, and ErrorModal, to improve code clarity and maintainability. - Updated modal interactions and error handling messages for better user feedback. - Cleaned up component structures and standardized formatting for consistency across the codebase. - Enhanced styling and layout adjustments to align with the new design system.
This commit is contained in:
@@ -1811,7 +1811,7 @@
|
||||
{:else}
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-ghost btn-sm gap-2"
|
||||
class="btn btn-sm gap-2"
|
||||
onclick={() => selecionarSolicitacao(solicitacao._id)}
|
||||
>
|
||||
<svg
|
||||
@@ -1964,7 +1964,7 @@
|
||||
{:else}
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-ghost btn-sm gap-2"
|
||||
class="btn btn-sm gap-2"
|
||||
onclick={() => (solicitacaoAusenciaAprovar = ausencia._id)}
|
||||
>
|
||||
<svg
|
||||
@@ -2300,7 +2300,7 @@
|
||||
</h2>
|
||||
<button
|
||||
type="button"
|
||||
class="btn btn-ghost btn-sm btn-circle"
|
||||
class="btn btn-sm btn-circle"
|
||||
onclick={() => (mostrarWizardAusencia = false)}
|
||||
aria-label="Fechar"
|
||||
>
|
||||
|
||||
Reference in New Issue
Block a user