Skip to content

Commit

Permalink
fix(docs): jumping link anchor (#3394)
Browse files Browse the repository at this point in the history
  • Loading branch information
m0ksem authored May 2, 2023
1 parent 8572053 commit c2e8cad
Show file tree
Hide file tree
Showing 4 changed files with 6 additions and 7 deletions.
4 changes: 2 additions & 2 deletions packages/docs/modules/page-config/blocks/headline/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ const { t } = useI18n()
</script>

<template>
<h3 class="page-config-headline">
<h3 class="page-config-headline flex">
<MarkdownView
:content="t(text)"
text
class="mr-2"
class="mr-1"
/>
<Anchor :text="text" />
</h3>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@ export default defineComponent({
<style lang="scss" scoped>
.page-config-anchor {
opacity: 0;
font-family: monospace !important;
font-size: 95%;
transition: opacity 0.1s ease-in-out;
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/modules/page-config/blocks/subtitle/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ const { t } = useI18n()
</script>

<template>
<h2 class="page-config-subtitle">
<h2 class="page-config-subtitle flex">
<MarkdownView
:content="t(text)"
text
class="mr-2"
class="mr-1"
/>
<Anchor :text="text" />
</h2>
Expand Down
4 changes: 2 additions & 2 deletions packages/docs/modules/page-config/blocks/title/index.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,11 +13,11 @@ const { t } = useI18n()
</script>

<template>
<h1 class="page-config-title">
<h1 class="page-config-title flex">
<MarkdownView
:content="t(text)"
text
class="mr-2"
class="mr-1"
/>
<Anchor :text="text" />
</h1>
Expand Down

0 comments on commit c2e8cad

Please sign in to comment.