Parcourir la source

feat(admin-ui): Move breadcrumbs to header sub nav

Michael Bromley il y a 7 ans
Parent
commit
9e28e3512f

+ 3 - 1
admin-ui/src/app/core/components/app-shell/app-shell.component.html

@@ -16,10 +16,12 @@
                            (logOut)="logOut()"></vdr-user-menu>
         </div>
     </clr-header>
+    <nav class="subnav">
+        <vdr-breadcrumb></vdr-breadcrumb>
+    </nav>
 
     <div class="content-container">
         <div class="content-area">
-            <vdr-breadcrumb></vdr-breadcrumb>
             <router-outlet></router-outlet>
         </div>
         <vdr-main-nav></vdr-main-nav>

+ 3 - 0
admin-ui/src/app/core/components/app-shell/app-shell.component.scss

@@ -4,3 +4,6 @@
 .logo {
     width: 60px;
 }
+vdr-breadcrumb {
+    margin-left: 9rem;
+}

+ 1 - 1
admin-ui/src/app/core/components/breadcrumb/breadcrumb.component.scss

@@ -2,7 +2,7 @@
 
 :host {
     display: block;
-    height: 45px;
+    padding: 0 1rem;
 }
 .breadcrumbs {
     list-style-type: none;