mirror of
https://github.com/shadcn-ui/taxonomy
synced 2026-05-24 09:48:32 +00:00
bugfix: inexistent subheading-anchor class
This commit is contained in:
parent
445d877b77
commit
f1c17dfa3c
2 changed files with 2 additions and 1 deletions
|
|
@ -172,7 +172,7 @@ export default makeSource({
|
|||
{
|
||||
behavior: "wrap",
|
||||
properties: {
|
||||
className: ["subheading-anchor"],
|
||||
className: ["before:content-['#'] before:absolute before:invisible before:-ml-[1em] hover:before:visible before:text-slate-300 pl-[1em] -ml-[1em]"],
|
||||
ariaLabel: "Link to section",
|
||||
},
|
||||
},
|
||||
|
|
|
|||
|
|
@ -8,6 +8,7 @@ module.exports = {
|
|||
"./components/**/*.{ts,tsx}",
|
||||
"./ui/**/*.{ts,tsx}",
|
||||
"./content/**/*.{md,mdx}",
|
||||
"contentlayer.config.js",
|
||||
],
|
||||
darkMode: ["class"],
|
||||
theme: {
|
||||
|
|
|
|||
Loading…
Reference in a new issue