Skip to content

Commit

Permalink
feat: Change the default value of the section call content in ja
Browse files Browse the repository at this point in the history
fix #127
  • Loading branch information
spring-raining committed Sep 8, 2024
1 parent 2c59a27 commit f7ff164
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 10 deletions.
5 changes: 5 additions & 0 deletions .changeset/wicked-guests-wash.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@vivliostyle/theme-base": major
---

The default value of `--vs-section--call-content` has been changed in the Japanese language environment
10 changes: 0 additions & 10 deletions packages/@vivliostyle/theme-base/css/partial/section.css
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,6 @@
--vs-section--marker-margin-inline: 1ch;
}

:lang(ja) {
--vs-section--call-content: target-counters(
attr(href),
vs-counter-sections,
var(--vs-section--counter-delimiter),
var(--vs-section--counter-style)
)
'章';
}

a[data-ref='sec'] {
text-decoration: var(--vs-section--anchor-text-decoration);
margin-inline: var(--vs-section--call-margin-inline);
Expand Down

0 comments on commit f7ff164

Please sign in to comment.