1
0
Fork 0
forked from forgejo/forgejo

Update JS dependencies and misc tweaks (#25540)

- Update all JS dependencies
- Enable `declaration-property-unit-disallowed-list` to forbid `em` on
`line-height`
- Rename dependency update targets to `update-js` and `update-py` and
document them
- Remove margin on Asciicast viewer
- Tested Swagger, Katex, Asciicast

<img width="1243" alt="Screenshot 2023-06-27 at 19 51 05"
src="2d2722a0-2aa7-4f4c-b8bd-17e1f3637b78">
This commit is contained in:
silverwind 2023-06-27 21:44:17 +02:00 committed by GitHub
parent 426a49d481
commit b943318617
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
7 changed files with 106 additions and 104 deletions

View file

@ -2166,7 +2166,7 @@ table th[data-sortt-desc] .svg {
}
.truncated-item-name {
line-height: 2em;
line-height: 2;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;
@ -2188,7 +2188,7 @@ table th[data-sortt-desc] .svg {
}
.ui.dropdown {
line-height: 1em; /* the dropdown doesn't have default line-height, use this to make the dropdown icon align with plain dropdown */
line-height: 1; /* the dropdown doesn't have default line-height, use this to make the dropdown icon align with plain dropdown */
}
/* dropdown has some kinds of icons: