Fix fixed navbar

This commit is contained in:
samaradel
2020-11-11 15:54:08 +02:00
parent 7b05b50e3f
commit 83576b23b8
4 changed files with 38 additions and 39 deletions

View File

@@ -84,8 +84,4 @@ export default {
max-width: 100%;
height: auto;
}
.flex-post:first-child {
margin-top: 60px;
}
</style>

View File

@@ -1,8 +1,10 @@
<!DOCTYPE html>
<html ${htmlAttrs}>
<head>
${head}
</head>
<body ${bodyAttrs}>
<script>
@@ -10,6 +12,7 @@
// for this starter, i used the code from gridsome.org
(function() {
window.__onThemeChange = function() {};
function setTheme(newTheme) {
window.__theme = newTheme;
@@ -41,7 +44,7 @@
})();
</script>
${app}
${scripts}
${app} ${scripts}
</body>
</html>

View File

@@ -49,7 +49,7 @@ export default {
metaInfo: {
bodyAttrs: {
class: "m-0"
class: "m-0 pt-12"
}
}
}

View File

@@ -1,5 +1,5 @@
<template>
<Layout :hideHeader="false" :disableScroll="true">
<Layout :hideHeader="true" :disableScroll="true">
<div class="container sm:pxi-0 mx-auto overflow-x-hidden">