mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-09 12:05:08 +00:00
(layout/settings-drawer) Fixed: Issues on small screen devices
This commit is contained in:
parent
5ea37aed99
commit
36c8727616
|
@ -54,7 +54,7 @@
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
<fuse-drawer
|
<fuse-drawer
|
||||||
class="w-100 min-w-100"
|
class="w-screen min-w-screen sm:w-100 sm:min-w-100"
|
||||||
fixed
|
fixed
|
||||||
transparentOverlay
|
transparentOverlay
|
||||||
[mode]="'over'"
|
[mode]="'over'"
|
||||||
|
@ -74,17 +74,17 @@
|
||||||
|
|
||||||
<!-- Theme -->
|
<!-- Theme -->
|
||||||
<div class="text-md font-semibold text-secondary">THEME</div>
|
<div class="text-md font-semibold text-secondary">THEME</div>
|
||||||
<div class="grid grid-cols-3 gap-3 mt-6">
|
<div class="grid grid-cols-2 sm:grid-cols-3 gap-3 mt-6">
|
||||||
<ng-container *ngFor="let theme of themes">
|
<ng-container *ngFor="let theme of themes">
|
||||||
<div
|
<div
|
||||||
class="flex items-center px-4 py-3 rounded-full cursor-pointer ring-inset ring-primary bg-hover"
|
class="flex items-center justify-center px-4 py-3 rounded-full cursor-pointer ring-inset ring-primary bg-hover"
|
||||||
[class.ring-2]="config.theme === theme[0]"
|
[class.ring-2]="config.theme === theme[0]"
|
||||||
(click)="setTheme(theme[0])">
|
(click)="setTheme(theme[0])">
|
||||||
<div
|
<div
|
||||||
class="w-4 h-4 rounded-full"
|
class="flex-0 w-3 h-3 rounded-full"
|
||||||
[style.background-color]="theme[1].primary"></div>
|
[style.background-color]="theme[1].primary"></div>
|
||||||
<div
|
<div
|
||||||
class="ml-2.5 font-medium leading-5"
|
class="ml-2.5 font-medium leading-5 truncate"
|
||||||
[class.text-secondary]="config.theme !== theme[0]">
|
[class.text-secondary]="config.theme !== theme[0]">
|
||||||
{{theme[0] | titlecase}}
|
{{theme[0] | titlecase}}
|
||||||
</div>
|
</div>
|
||||||
|
|
Loading…
Reference in New Issue
Block a user