From 931c2cad0da1a84e3df0745b385ec06d29cc2634 Mon Sep 17 00:00:00 2001
From: Maksim Zakharov <m.zakharov@IBS.RU>
Date: Mon, 20 Jun 2022 11:52:15 +0300
Subject: fix Modals, Tables and Pages: event logs, inventoty, post logs,
 operttions, global styles

---
 src/layouts/AppLayout.vue | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

(limited to 'src/layouts/AppLayout.vue')

diff --git a/src/layouts/AppLayout.vue b/src/layouts/AppLayout.vue
index 3ecc9474..3444910f 100644
--- a/src/layouts/AppLayout.vue
+++ b/src/layouts/AppLayout.vue
@@ -2,8 +2,8 @@
   <div class="app-container">
     <app-header
       ref="focusTarget"
+      :key="routerKey"
       class="app-header"
-      :router-key="routerKey"
       @refresh="refresh"
     />
     <sub-header ref="focusTarget" class="sub-header" :router-key="routerKey" />
@@ -63,7 +63,7 @@ export default {
 .app-container {
   display: grid;
   grid-template-columns: 100%;
-  grid-template-rows: 56px 39px 1fr;
+  grid-template-rows: $first-header-height $second-header-height 1fr;
   grid-template-areas:
     'header'
     'subheader'
@@ -88,7 +88,7 @@ export default {
 .sub-header {
   grid-area: subheader;
   position: sticky;
-  top: 56px;
+  top: $first-header-height;
   z-index: $zindex-fixed - 1;
 }
 
-- 
cgit v1.2.3

