diff --git a/vue/src/assets/main.css b/vue/src/assets/main.css index 94f2c36..ed226a9 100644 --- a/vue/src/assets/main.css +++ b/vue/src/assets/main.css @@ -4,6 +4,7 @@ max-width: 1280px; margin: 0 auto; padding: 0.5rem; + padding-top: var(--app-nav-height, 4.5rem); font-weight: normal; } diff --git a/vue/src/components/AppNav.vue b/vue/src/components/AppNav.vue index 3c9b383..1fc8ce3 100644 --- a/vue/src/components/AppNav.vue +++ b/vue/src/components/AppNav.vue @@ -1,25 +1,18 @@ - + - RSS Reader ({{ unreadCount }}) + RSS Reader ({{ unreadCount }}) .app-nav { - position: relative; + position: fixed; + top: 0; + left: 0; + right: 0; + z-index: 20; + background: var(--color-background); } .app-nav__wrapper { diff --git a/vue/src/components/RssFeeds.vue b/vue/src/components/RssFeeds.vue index 7af7ff2..ecb76df 100644 --- a/vue/src/components/RssFeeds.vue +++ b/vue/src/components/RssFeeds.vue @@ -8,7 +8,6 @@ const { message, viewMode, currentIndex, - leaveArticleView, layout, nextArticle, prevArticle, @@ -17,7 +16,6 @@ const { getReadable, setInitialLoad, showMessageForXSeconds, - navTitleVisible, } = useFeeds() const unreadCount = computed(() => feeds.value.filter(f => !f.read).length) @@ -92,9 +90,6 @@ onMounted(async () => { {{ message }} - - RSS Reader ({{ unreadCount }}) - @@ -126,12 +121,6 @@ onMounted(async () => { - - - ← Back to list - {{ currentIndex + 1 }} / {{ feeds.length }} - - @@ -173,29 +162,6 @@ onMounted(async () => {