mirror of
https://github.com/em-squared/5e-drs.git
synced 2025-12-18 08:00:51 +00:00
table of contents in pages
This commit is contained in:
parent
f415fa8613
commit
a6e1803b23
12 changed files with 165 additions and 10 deletions
|
|
@ -13,7 +13,7 @@
|
|||
>
|
||||
|
||||
<template v-slot:item.title="{ item }">
|
||||
<router-link :to="{ path: item.path }">{{ item.title }}</router-link>
|
||||
<router-link :to="{ path: item.path }" class="subtitle-2">{{ item.title }}</router-link>
|
||||
</template>
|
||||
|
||||
<template v-slot:item.frontmatter.level="{ item }">
|
||||
|
|
@ -165,5 +165,18 @@ export default {
|
|||
}
|
||||
</script>
|
||||
|
||||
<style>
|
||||
<style lang="scss">
|
||||
@import '../styles/colors';
|
||||
|
||||
.v-data-table {
|
||||
a {
|
||||
color: $color-dragon;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.v-data-table__mobile-row {
|
||||
min-height: 32px;
|
||||
}
|
||||
}
|
||||
|
||||
</style>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue