From 4ab666a190b2b5c8e2b7e4dd30f5668eff6f7085 Mon Sep 17 00:00:00 2001 From: Gabriel Cozma Date: Sun, 28 Apr 2024 17:37:55 +0300 Subject: [PATCH] next: Made the nav have a specific min-height (1.3.4-2) --- CHANGELOG.md | 2 ++ components/Navigation.vue | 5 +++-- package.json | 2 +- 3 files changed, 6 insertions(+), 3 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 69b3f91..79696ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,8 @@ - Allow a changable dark mode background color for code snippets +- Made the navigation island have a specific minimum height + ### Feature(s) - Provide a `title` for the navigation icons to improve accessibility diff --git a/components/Navigation.vue b/components/Navigation.vue index 564f46a..4699daf 100644 --- a/components/Navigation.vue +++ b/components/Navigation.vue @@ -62,6 +62,7 @@ header { ul { list-style-type: none; margin: 0; + min-height: 40px; padding: 0; overflow: hidden; display: flex; @@ -125,11 +126,11 @@ header { &::after { content: ""; position: absolute; - height: 110%; + height: 50px; margin: 0; width: 0.0625rem; background-color: var(--color-border); - top: 0; + top: -0.3125rem; right: -1.25rem; } } diff --git a/package.json b/package.json index 68e2f70..6b1c02a 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "aplos", - "version": "1.3.4-1", + "version": "1.3.4-2", "description": "A sleek, contemporary, and purposefully designed VitePress theme", "main": "index.ts", "keywords": [