refactor(tree-wide): prefer simpler method for theming <img> elements (#820)
Co-authored-by: Gen <[email protected]>
This commit is contained in:
1 parent
0ef96f1928
commit
1a1c19e26a
10 files changed
+29
-152
No files matched your search
@@ -515,20 +515,9 @@
|
||||
background-image: url("data:image/svg+xml,@{svg}");
|
||||
}
|
||||
|
||||
picture:has(img[src="https://github.githubassets.com/assets/mona-loading-default-c3c7aad1282f.gif"])
|
||||
img[src="https://github.githubassets.com/assets/mona-loading-default-c3c7aad1282f.gif"]
|
||||
{
|
||||
justify-content: center;
|
||||
display: flex;
|
||||
|
||||
img {
|
||||
display: block;
|
||||
box-sizing: border-box;
|
||||
background: url("https://giscus.catppuccin.com/assets/loading_48x48.gif")
|
||||
no-repeat;
|
||||
width: 48px;
|
||||
height: 48px;
|
||||
padding-left: 48px;
|
||||
}
|
||||
content: url("https://giscus.catppuccin.com/assets/loading_48x48.gif");
|
||||
}
|
||||
|
||||
/* Header when logged out */
|
||||
|
||||
Reference in new issue
Block a user