gitea/web_src/css/features
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
..
codeeditor.css
colorpicker.css Update stylelint, enable report* options (#35236) 2025-08-08 16:52:49 +00:00
console.css
cropper.css Add cropping support when modifying the user/org/repo avatar (#33498) 2025-02-06 21:07:44 +08:00
dropzone.css
expander.css Merge and tweak markup editor expander CSS (#34409) 2025-05-09 17:14:21 +02:00
gitgraph.css Fix git graph page (#34948) 2025-07-04 15:41:19 +00:00
heatmap.css Contribution heatmap improvements (#35876) 2025-11-06 09:23:48 +01:00
imagediff.css Fix SVG size calulation, only use style attribute (#36133) 2025-12-12 09:39:02 +02:00
projects.css Improve project & label color picker and image scroll (#34971) 2025-07-06 23:37:26 +08:00