Remove relative paths in sass (#1540)

This commit is contained in:
infinite-persistence 2022-05-20 21:07:32 +08:00 committed by GitHub
parent e045d7a2ad
commit 2803323524
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 3 additions and 3 deletions

View file

@ -34,7 +34,7 @@
$minWidth: calc(var(--file-list-thumbnail-width) * 0.8);
min-width: $minWidth;
background-color: #283263;
background-image: url('../../ui/component/membershipSplash/astronaut_n_friends.png'); // TODO fix relative path for all url('')
background-image: url('~ui/component/membershipSplash/astronaut_n_friends.png');
background-size: 100%;
border-radius: var(--border-radius);
box-shadow: 0 0 0 1px rgba(var(--color-primary-dynamic), 0.1) inset;

View file

@ -450,7 +450,7 @@
.claim-preview--premium-plus {
.media__thumb {
background-color: #283263;
background-image: url('../../ui/component/membershipSplash/astronaut_n_friends.png'); // TODO fix relative path for all url('')
background-image: url('~ui/component/membershipSplash/astronaut_n_friends.png');
background-size: 100%;
}

View file

@ -297,7 +297,7 @@ img {
margin: -1rem 0;
padding: 0 30px;
background: url('../../static/img/busy.gif') no-repeat center center;
background: url('~static/img/busy.gif') no-repeat center center;
display: inline-block;
vertical-align: middle;