mirror of
https://github.com/go-gitea/gitea.git
synced 2026-10-02 13:00:10 +02:00
Use CSS inset shorthand (#30939)
Use [inset](https://developer.mozilla.org/en-US/docs/Web/CSS/inset) shorthand instead of longhands. There may be more cases but these ones I was able to definitely identify.
This commit is contained in:
1 parent
40de54ece8
commit
3c2406a2f3
3 files changed
+3
-12
No files matched your search
@@ -20,10 +20,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;
|
||||
|
||||
Reference in new issue
Block a user