gitea/web_src/css/repo
silverwind 4cbcb91b7b
Fix SVG size calulation, only use style attribute (#36133)
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>
2025-12-12 09:39:02 +02:00
..
clone.css Fix button alignments and remove unnecessary styles (#34206) 2025-04-16 08:14:10 +00:00
commit-sign.css Do not show unnecessary commit sign lock icon (#33387) 2025-01-25 19:32:35 +08:00
file-view.css Fix SVG size calulation, only use style attribute (#36133) 2025-12-12 09:39:02 +02:00
header.css Fix button alignments and remove unnecessary styles (#34206) 2025-04-16 08:14:10 +00:00
home-file-list.css Make submodule link work with relative path (#35034) 2025-07-10 16:38:42 +00:00
home.css Add "Go to file", "Delete Directory" to repo file list page (#35911) 2025-11-30 11:58:15 +08:00
issue-card.css Improve labels-list rendering (#34846) 2025-06-27 23:12:25 +08:00
issue-label.css Improve labels-list rendering (#34846) 2025-06-27 23:12:25 +08:00
issue-list.css fix(webhook): prevent tag events from bypassing branch filters targets #35449 (#35567) 2025-10-03 08:51:57 +02:00
list-header.css Fix button alignments and remove unnecessary styles (#34206) 2025-04-16 08:14:10 +00:00
packages.css Refactor packages (func name & UI) (#34773) 2025-06-18 19:04:24 +00:00
reactions.css Misc CSS fixes (#35888) 2025-11-19 03:02:41 +00:00
release-tag.css Improve tags list page (#34898) 2025-06-30 02:15:39 +00:00
wiki.css wiki: reuse selectable style for wiki (#35990) 2025-11-20 21:23:14 +00:00