Commit Graph

10 Commits

Author SHA1 Message Date
Mike Repec
b4a13da6d8 🐛 Fix(render-heading): prevent colour flicker on anchor links
The group-hover prefix is redundant and cause the colour to flicker
for the anchor link tag - the colour should actually stay the same
and only have it's opacity (visibility really) controlled via group-hover.
2025-10-13 09:18:45 +02:00
ZhenShuo Leo
41f6b37e56 refactor(tailwind): use logical properties for language direction 2025-08-22 03:34:02 +08:00
ZhenShuo Leo
03c3f18b72 style: prevent anchor being selected 2025-07-13 23:00:30 +08:00
Served Smart
9f85c0566e ♻️ refactor: Move most inline styles out of line
- Move out of line by using already defined css classes
- Move paddings out of line
- Move margins out of line
- Move z-indexes out of line
- Move center-relative-left out of line
2025-06-12 14:00:21 +02:00
ZhenShuo Leo
6e49bfac5e 🐛 Fix: anchor not working for non-ascii characters
Fix in-page anchor links by replacing urlize to anchorize
2025-05-07 16:10:00 +08:00
Karlukle
1c1d3d95b0 Fix Bugs: Anchors Not Functioning Correctly for CJK Headings
While utilizing the Blowfish theme, it was observed that headings containing non-ASCII characters, such as those in Chinese text, were not positioned when clicked on either the Table of Contents (TOC) or the anchor mark (#) preceding the heading. This issue did not occur with headings in plain English. The resolution involved updating the render-heading.html file to implement URL escaping for anchors, enabling accurate positioning for non-ASCII headings.
2024-02-18 15:59:35 +00:00
Nuno Coração
4c9e372ef7 Heading first-child styling not working 2023-12-01 12:15:20 +00:00
Maciej Opaliński
8a892cfb68 fix: Remove heading anchor content 2023-04-05 22:22:43 +02:00
Nuno Coração
8ec3504224 fixed anchors 2022-11-06 22:28:52 +00:00
Nuno Coração
8fbdecb6e7 initial commit 2022-09-10 20:05:37 +01:00