1
0
mirror of https://github.com/go-gitea/gitea.git synced 2024-11-04 08:17:24 -05:00
gitea/templates
Hester Gong f401337f64
fix br display for packages curls (#23737)
Before:
<img width="1403" alt="截屏2023-03-27 15 48 23"
src="https://user-images.githubusercontent.com/17645053/227875392-399debf7-db75-4d9a-9436-409f75447c65.png">
This happens because the `<br>` matches this
[rule](e6e602fd8d/web_src/css/markup/content.css (L428)),
which is not necessary here (This is introduced by #22861, did a quick
check, and this is the only place used `<br>` inside `<code>` from the
PR):
```css
.markup code br,
.markup tt br {
  display: none;
}
```

After:
<img width="1398" alt="截屏2023-03-27 15 46 50"
src="https://user-images.githubusercontent.com/17645053/227875244-b7fba432-b32c-42f7-9517-4e05bb2e64ea.png">

---------

Co-authored-by: wxiaoguang <wxiaoguang@gmail.com>
2023-03-28 01:18:01 -04:00
..
admin Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
api/packages/pypi Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
base Fine tune more downdrop settings, use SVG for labels, improve Repo Topic Edit form (#23626) 2023-03-26 19:31:26 +08:00
code Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
custom Add footer extra links template (#9576) 2020-01-03 20:41:56 +02:00
explore Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
mail Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
org Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
package fix br display for packages curls (#23737) 2023-03-28 01:18:01 -04:00
projects Fix project card preview select and template select (#23684) 2023-03-27 13:15:41 +08:00
repo Fix SVG close tag, improve commit graph page UI alignment (#23751) 2023-03-27 20:32:11 +01:00
shared Use data-tooltip-content for tippy tooltip (#23649) 2023-03-24 18:35:38 +08:00
status Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
swagger Editor preview support for external renderers (#23333) 2023-03-24 14:12:23 +08:00
user Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
home.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
install.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00
post-install.tmpl Remove incorrect HTML self close tag (#23748) 2023-03-27 18:05:51 +02:00