From 5cbfdab567005a963ef3c4f1ee4f1412f9c0de47 Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Thu, 17 Oct 2019 21:56:13 +0200 Subject: Fix empty post list --- components/NavLink.vue | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'components/NavLink.vue') diff --git a/components/NavLink.vue b/components/NavLink.vue index 253dde9..6074db0 100644 --- a/components/NavLink.vue +++ b/components/NavLink.vue @@ -1,6 +1,7 @@ @@ -10,7 +11,8 @@ export default { props: { link: String, name: String, - external: { type: Boolean, default: false } + external: { type: Boolean, default: false }, + static: { type: Boolean, default: false } } } -- cgit 1.4.1 From 73c108daf3d470d6ebea0ba58d2289d4ffabb84e Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sat, 19 Oct 2019 23:44:00 +0200 Subject: Fix navlink font-weight --- components/NavLink.vue | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'components/NavLink.vue') diff --git a/components/NavLink.vue b/components/NavLink.vue index 6074db0..6d72dc7 100644 --- a/components/NavLink.vue +++ b/components/NavLink.vue @@ -24,6 +24,7 @@ export default { font-family: 'Roboto Slab', serif; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; + font-weight: bold; text-decoration: none; color: #181818; @@ -47,6 +48,12 @@ export default { background-color: #ececec !important; } +@media (min-width: 900px) { + .link { + font-weight: normal; + } +} + @media (max-width: 1300px) { .navlink { margin: 0; -- cgit 1.4.1 From 84a95c8c4ecf5348341502f95250c4588181786d Mon Sep 17 00:00:00 2001 From: Patryk Niedźwiedziński Date: Sun, 20 Oct 2019 22:19:25 +0200 Subject: Rename static to pure in NavLink --- components/NavBar.vue | 2 +- components/NavLink.vue | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) (limited to 'components/NavLink.vue') diff --git a/components/NavBar.vue b/components/NavBar.vue index 4ffdf16..4bbae72 100644 --- a/components/NavBar.vue +++ b/components/NavBar.vue @@ -14,7 +14,7 @@ :key="route.path" :link="route.path" :name="route.name" - static + pure /> @@ -12,7 +12,7 @@ export default { link: String, name: String, external: { type: Boolean, default: false }, - static: { type: Boolean, default: false } + pure: { type: Boolean, default: false } } } -- cgit 1.4.1