mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-25 14:35:40 +00:00
ui(blame): remove broken padding (#4318)
This padding causes visual bug, because it only applies to the first line and not to the rest in case the line is broken into multiple. I don't think it's actually needed here for good look, so I decided to remove it. In case decreased padding looks worse, the padding can be grown back via other element so it wouldn't cause this bug. Preview: https://codeberg.org/attachments/56fd2ee8-4955-409d-998f-1feba987b9af Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/4318 Reviewed-by: Gusted <gusted@noreply.codeberg.org>
This commit is contained in:
parent
4c4aaea26d
commit
aa7657c544
|
@ -78,7 +78,7 @@
|
||||||
</td>
|
</td>
|
||||||
{{end}}
|
{{end}}
|
||||||
<td rel="L{{$row.RowNumber}}" class="lines-code blame-code chroma">
|
<td rel="L{{$row.RowNumber}}" class="lines-code blame-code chroma">
|
||||||
<code class="code-inner tw-pl-2">{{$row.Code}}</code>
|
<code class="code-inner">{{$row.Code}}</code>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
{{end}}
|
{{end}}
|
||||||
|
|
Loading…
Reference in a new issue