forked from gitea/gitea
1
0
Fork 0
gitea/web_src/js
wxiaoguang 62ab55bacc
Improve wiki sidebar and TOC (#25460)
Close #20976
Close #20975

1. Fix the bug: the TOC in footer was incorrectly rendered as main
content's TOC
2. Fix the layout: on mobile, the TOC is put above the main content,
while the sidebar is put below the main content
3. Auto collapse the TOC on mobile

ps: many styles of "wiki.css" are moved from old css files, so leave
nits to following PRs.
2023-06-23 15:51:43 -04:00
..
components Introduce shared template for search inputs (#25338) 2023-06-22 10:27:35 +00:00
features Improve wiki sidebar and TOC (#25460) 2023-06-23 15:51:43 -04:00
markup Fix task list checkbox toggle to work with YAML front matter (#25184) 2023-06-13 14:44:47 +08:00
modules Improve wiki sidebar and TOC (#25460) 2023-06-23 15:51:43 -04:00
render Switch to ansi_up for ansi rendering in actions (#25401) 2023-06-22 02:15:19 +00:00
standalone Add new JS linter rules (#17699) 2021-11-22 16:19:01 +08:00
test rename tributeValues to mentionValues (#25375) 2023-06-20 03:32:49 +00:00
utils rename tributeValues to mentionValues (#25375) 2023-06-20 03:32:49 +00:00
webcomponents Refactor locale number (#24134) 2023-04-17 11:37:23 +08:00
bootstrap.js Improve template system and panic recovery (#24461) 2023-05-04 14:36:34 +08:00
index.js Redesign Scoped Access Tokens (#24767) 2023-06-04 20:57:16 +02:00
jquery.js Upgrade jQuery to 3.5.0, remove jQuery-Migrate, fix deprecations (#11055) 2020-04-18 18:46:29 -04:00
svg.js Add show timestamp/seconds and fullscreen options to action page (#24876) 2023-05-30 20:38:55 +00:00
svg.test.js Improve `<SvgIcon>` to make it output `svg` node and optimize performance (#23570) 2023-03-23 11:24:16 +08:00
utils.js Remove hacky patch for "safari emoji glitch fix" (#25208) 2023-06-12 15:44:53 +00:00
utils.test.js Fix webauthn regression and improve code (#25113) 2023-06-07 19:20:18 +08:00