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:
parent
426a49d481
commit
b943318617
7 changed files with 106 additions and 104 deletions
|
@ -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:
|
||||
|
|
|
@ -59,7 +59,7 @@
|
|||
font-weight: var(--font-weight-medium);
|
||||
font-size: 1.28571429em;
|
||||
margin-top: -.21425em;
|
||||
line-height: 1.28571429em;
|
||||
line-height: 1.28571429;
|
||||
}
|
||||
|
||||
.ui.cards > .card > .content:first-child,
|
||||
|
|
|
@ -478,7 +478,7 @@
|
|||
}
|
||||
|
||||
.repository.file.list .non-diff-file-content .asciicast {
|
||||
padding: 5px !important;
|
||||
padding: 0 !important;
|
||||
}
|
||||
|
||||
.non-diff-file-content .attached.segment,
|
||||
|
@ -1903,7 +1903,7 @@
|
|||
|
||||
.repository.settings.collaboration .collaborator.list > .item {
|
||||
margin: 0;
|
||||
line-height: 2em;
|
||||
line-height: 2;
|
||||
}
|
||||
|
||||
.repository.settings.collaboration #repo-collab-form #search-user-box .results {
|
||||
|
@ -2601,7 +2601,7 @@
|
|||
.labels-list .label {
|
||||
margin: 2px 0;
|
||||
display: inline-flex !important;
|
||||
line-height: 1.3em; /* there is a `font-size: 1.25em` for inside emoji, so here the line-height needs to be larger slightly */
|
||||
line-height: 1.3; /* there is a `font-size: 1.25em` for inside emoji, so here the line-height needs to be larger slightly */
|
||||
}
|
||||
|
||||
/* Scoped labels with different colors on left and right */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue