This commit is contained in:
Cagatay Civici
2025-01-07 10:51:18 +03:00
parent 0ef8a3bedc
commit 015a591978
2 changed files with 3 additions and 7 deletions
+2 -2
View File
@@ -8,7 +8,7 @@ import { LayoutService } from '@/src/service/layout/layout.service';
selector: 'floating-configurator',
imports: [ButtonModule, StyleClassModule, AppConfigurator],
template: `
<div class="fixed flex gap-6 top-8 right-8">
<div class="fixed flex gap-4 top-8 right-8">
<p-button type="button" (onClick)="toggleDarkMode()" [rounded]="true" [icon]="isDarkTheme() ? 'pi pi-moon' : 'pi pi-sun'" severity="secondary" />
<div class="relative">
<p-button
@@ -17,7 +17,7 @@ import { LayoutService } from '@/src/service/layout/layout.service';
enterFromClass="hidden"
enterActiveClass="animate-scalein"
leaveToClass="hidden"
leaveActiveClass="animate-scalein"
leaveActiveClass="animate-fadeout"
[hideOnOutsideClick]="true"
type="button"
rounded