mirror of
1
Fork 0

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:
Earl Warren 2024-05-13 16:02:05 +00:00
commit 4b59e3f971
2 changed files with 2 additions and 8 deletions

View File

@ -21,10 +21,7 @@ Gitea's private styles use `g-` prefix.
.g-table-auto-ellipsis td.auto-ellipsis span {
position: absolute;
left: 0;
right: 0;
top: 0;
bottom: 0;
inset: 0;
padding: inherit;
white-space: nowrap;
overflow: hidden;

View File

@ -204,10 +204,7 @@
.markup input[type="checkbox"]::after {
position: absolute;
left: 0;
top: 0;
bottom: 0;
right: 0;
inset: 0;
pointer-events: none;
background: var(--color-text);
mask-size: cover;