summaryrefslogtreecommitdiff
path: root/src/layouts/AppLayout.vue
diff options
context:
space:
mode:
Diffstat (limited to 'src/layouts/AppLayout.vue')
-rw-r--r--src/layouts/AppLayout.vue6
1 files changed, 3 insertions, 3 deletions
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;
}