fixed sidebar with
This commit is contained in:
parent
bf1be4d3d6
commit
2488871e25
@ -1,6 +1,6 @@
|
||||
<ion-app>
|
||||
<ion-split-pane when="sm">
|
||||
<ion-menu>
|
||||
<ion-menu class="sidebar">
|
||||
<ion-header>
|
||||
<ion-toolbar color="primary">
|
||||
<ion-title>Menu</ion-title>
|
||||
@ -14,17 +14,17 @@
|
||||
</ion-list-header>
|
||||
|
||||
<tree-root [nodes]="nodes" [options]="options"></tree-root>
|
||||
|
||||
<ion-item lines="full">
|
||||
<ion-icon slot="start" name="moon"></ion-icon>
|
||||
<ion-label>
|
||||
Toggle Dark Theme
|
||||
</ion-label>
|
||||
<ion-toggle id="themeToggle" slot="end"></ion-toggle>
|
||||
</ion-item>
|
||||
|
||||
</ion-list>
|
||||
</ion-content>
|
||||
<ion-footer>
|
||||
<ion-item slot="end" lines="full">
|
||||
<ion-icon slot="start" name="moon"></ion-icon>
|
||||
<ion-label>
|
||||
Dark mode
|
||||
</ion-label>
|
||||
<ion-toggle id="themeToggle" slot="end"></ion-toggle>
|
||||
</ion-item>
|
||||
</ion-footer>
|
||||
</ion-menu>
|
||||
|
||||
<div class="ion-page" main>
|
||||
|
@ -0,0 +1,3 @@
|
||||
.sidebar {
|
||||
max-width: 20em !important;
|
||||
}
|
Loading…
Reference in New Issue
Block a user