mirror of
https://github.com/richard-loafle/fuse-angular.git
synced 2025-01-09 12:05:08 +00:00
(pages/settings) Added a close button for the sidebar
This commit is contained in:
parent
a9ada174b4
commit
c3ed184853
|
@ -9,8 +9,19 @@
|
||||||
[mode]="drawerMode"
|
[mode]="drawerMode"
|
||||||
[opened]="drawerOpened"
|
[opened]="drawerOpened"
|
||||||
#drawer>
|
#drawer>
|
||||||
<!-- Title -->
|
<!-- Header -->
|
||||||
<div class="m-8 sm:my-10 text-4xl font-extrabold tracking-tight leading-none">Settings</div>
|
<div class="flex items-center justify-between m-8 mr-6 sm:my-10">
|
||||||
|
<!-- Title -->
|
||||||
|
<div class="text-4xl font-extrabold tracking-tight leading-none">Settings</div>
|
||||||
|
<!-- Close button -->
|
||||||
|
<div class="lg:hidden">
|
||||||
|
<button
|
||||||
|
mat-icon-button
|
||||||
|
(click)="drawer.close()">
|
||||||
|
<mat-icon [svgIcon]="'heroicons_outline:x'"></mat-icon>
|
||||||
|
</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
<!-- Panel links -->
|
<!-- Panel links -->
|
||||||
<div class="flex flex-col divide-y border-t border-b">
|
<div class="flex flex-col divide-y border-t border-b">
|
||||||
<ng-container *ngFor="let panel of panels; trackBy: trackByFn">
|
<ng-container *ngFor="let panel of panels; trackBy: trackByFn">
|
||||||
|
|
Loading…
Reference in New Issue
Block a user