1
0
Fork 0
mirror of https://codeberg.org/forgejo/forgejo.git synced 2024-11-22 08:42:32 -05:00
forgejo/templates/package/content
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
..
cargo.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2023-02-24 14:36:07 +08:00
chef.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2023-02-24 14:36:07 +08:00
composer.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00
composer_dependencies.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
conan.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00
conda.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00
container.tmpl Move helpers to be prefixed with gt- (#22879) 2023-02-13 17:59:59 +00:00
generic.tmpl fix br display for packages curls (#23737) 2023-03-28 01:18:01 -04:00
helm.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00
maven.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00
npm.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2023-02-24 14:36:07 +08:00
npm_dependencies.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
nuget.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00
pub.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2023-02-24 14:36:07 +08:00
pypi.tmpl Fix nil context in RenderMarkdownToHtml (#23092) 2023-02-24 14:36:07 +08:00
rubygems.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00
rubygems_dependencies.tmpl Refactor i18n to locale (#20153) 2022-06-27 15:58:46 -05:00
swift.tmpl Add Swift package registry (#22404) 2023-03-13 15:28:39 -05:00
vagrant.tmpl Introduce customized HTML elements, fix incorrect AppUrl usages in templates (#22861) 2023-02-17 22:02:20 +08:00