gitea/web_src/css
wxiaoguang 698ae7aa5b
Fix dynamic content loading init problem (#33748)
1. Rewrite `dirauto.ts` to `observer.ts`. 
* We have been using MutationObserver for long time, it's proven that it
is quite performant.
    * Now we extend its ability to handle more "init" works.
2. Use `observeAddedElement` to init all non-custom "dropdown".
3. Use `data-global-click` to handle click events from dynamically
loaded elements.
* By this new approach, the old fragile selector-based
(`.comment-reaction-button`) mechanism is removed.
4. By the way, remove unused `.diff-box` selector, it was abused and
never really used.

A lot of FIXMEs in "repo-diff.ts" are completely fixed, newly loaded
contents could work as expected.
2025-03-01 02:02:10 +00:00
..
chroma Various code view improvements (#30014) 2024-03-24 12:14:03 +00:00
codemirror Remove EasyMDE focus outline on text (#25328) 2023-06-18 04:10:07 +00:00
editor Refactor markdown editor and use it for milestone description editor (#32688) 2024-12-04 02:11:34 +00:00
features Add cropping support when modifying the user/org/repo avatar (#33498) 2025-02-06 21:07:44 +08:00
markup Fix poor table column width due to breaking words (#31473) 2024-06-24 17:48:43 +00:00
modules Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +00:00
repo Fix flex width (#33414) 2025-01-27 17:09:20 +00:00
shared Forbid deprecated `break-word` in CSS (#30934) 2024-05-10 12:25:49 +00:00
standalone Add toasts to UI (#25449) 2023-06-27 02:45:24 +00:00
themes Repo file list enhancements (#32835) 2024-12-15 16:56:56 +00:00
actions.css Fix various overflows on actions view (#30344) 2024-04-15 19:46:52 +00:00
admin.css User details page (#26713) 2023-08-31 11:21:18 +02:00
base.css Align sidebar gears to the right (#33721) 2025-02-27 00:03:23 +02:00
dashboard.css Pulse page improvements (#30149) 2024-04-14 09:21:16 +00:00
explore.css Fix and/or comment some legacy CSS problems (#33015) 2024-12-28 11:51:38 +00:00
font_i18n.css Fix `@font-face` overrides (#24855) 2023-05-24 01:48:51 +00:00
form.css Fix mCaptcha bug (#33659) 2025-02-20 22:53:38 +08:00
helpers.css Replace `gt-word-break` with `tw-break-anywhere` (#31183) 2024-06-04 13:57:11 +00:00
home.css Refactor language menu and dom utils (#32450) 2024-11-08 14:04:24 +08:00
index.css Improve "generate new access token" form (#33730) 2025-02-27 19:40:12 +00:00
install.css Fix some UI problems (install/checkbox) (#30854) 2024-05-06 06:32:05 +00:00
org.css Clean up legacy form CSS styles (#33081) 2025-01-03 04:01:19 +00:00
repo.css Fix dynamic content loading init problem (#33748) 2025-03-01 02:02:10 +00:00
review.css Refactor markdown editor and use it for milestone description editor (#32688) 2024-12-04 02:11:34 +00:00
user.css Optimize repo-list layout to enhance visual experience (#31272) 2024-06-07 01:22:03 +02:00