mirror of
https://codeberg.org/forgejo/forgejo.git
synced 2024-11-28 15:37:35 +00:00
Merge pull request 'Port "Use CSS inset
shorthand (#30939)"' (#3745) from proton-ab/forgejo:pr/css-inset into forgejo
Reviewed-on: https://codeberg.org/forgejo/forgejo/pulls/3745 Reviewed-by: Earl Warren <earl-warren@noreply.codeberg.org>
This commit is contained in:
commit
4b59e3f971
|
@ -21,10 +21,7 @@ Gitea's private styles use `g-` prefix.
|
||||||
|
|
||||||
.g-table-auto-ellipsis td.auto-ellipsis span {
|
.g-table-auto-ellipsis td.auto-ellipsis span {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
inset: 0;
|
||||||
right: 0;
|
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
padding: inherit;
|
padding: inherit;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
|
|
|
@ -204,10 +204,7 @@
|
||||||
|
|
||||||
.markup input[type="checkbox"]::after {
|
.markup input[type="checkbox"]::after {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
left: 0;
|
inset: 0;
|
||||||
top: 0;
|
|
||||||
bottom: 0;
|
|
||||||
right: 0;
|
|
||||||
pointer-events: none;
|
pointer-events: none;
|
||||||
background: var(--color-text);
|
background: var(--color-text);
|
||||||
mask-size: cover;
|
mask-size: cover;
|
||||||
|
|
Loading…
Reference in a new issue