Skip to content

Commit

Permalink
fix: border
Browse files Browse the repository at this point in the history
  • Loading branch information
bojanrajh committed Dec 11, 2024
1 parent d3bb7d2 commit 4b36031
Showing 1 changed file with 10 additions and 4 deletions.
14 changes: 10 additions & 4 deletions src/components/SwagOutdatedVersion.vue
Original file line number Diff line number Diff line change
@@ -1,13 +1,13 @@
<template>
<PageRef
v-if="route.path.startsWith('/docs/v6.7')"
class="mb-8"
class="SwagOutdatedVersion my-8"
page="/docs/"
title="You are viewing next version (v6.7) of the documentation."
sub="Click here to switch to the stable (v6.6) version, or use the version switcher on the left to navigate between versions." />
<PageRef
v-if="route.path.startsWith('/docs/v6.')"
class="mb-8"
v-else-if="route.path.startsWith('/docs/v6.')"
class="SwagOutdatedVersion my-8"
page="/docs/"
title="You are viewing outdated version of the documentation."
sub="Click here to switch to the stable (v6.6) version, or use the version switcher on the left to navigate between versions." />
Expand All @@ -17,4 +17,10 @@
import { useRoute } from "vitepress";
const route = useRoute()
</script>
</script>

<style lang="scss">
.SwagOutdatedVersion {
outline: 3px var(--sw-c-blue-vivacious) solid;
}
</style>

0 comments on commit 4b36031

Please sign in to comment.