mirror of
https://github.com/go-gitea/gitea.git
synced 2025-12-15 21:45:35 +08:00
Fixes: https://github.com/go-gitea/gitea/issues/35863 The old code had a conflict between using HTML attributes vs. style properties where the style was overriding the previously set HTML attributes: ```html <img width="300" height="277.02439470988946" style="width: 275px; height: 0px;"> ``` I made it so in all cases only `style` properties are used and the previous width/height values are now set via `style`. Also I did a number of much-needed typescript improvements to the file. --------- Co-authored-by: wxiaoguang <wxiaoguang@gmail.com> |
||
|---|---|---|
| .. | ||
| components | ||
| features | ||
| markup | ||
| modules | ||
| render | ||
| standalone | ||
| utils | ||
| vendor | ||
| webcomponents | ||
| bootstrap.test.ts | ||
| bootstrap.ts | ||
| globals.d.ts | ||
| globals.ts | ||
| htmx.ts | ||
| index-domready.ts | ||
| index.ts | ||
| svg.test.ts | ||
| svg.ts | ||
| types.ts | ||
| utils.test.ts | ||
| utils.ts | ||
| vitest.setup.ts | ||