Use @/ absolute paths instead of relative paths in CSS (#34806)

This commit is contained in:
Claire 2025-05-26 09:27:44 +02:00 committed by GitHub
commit 558c73a21e
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
5 changed files with 24 additions and 25 deletions

View file

@ -1438,8 +1438,8 @@ a.sparkline {
inset-inline-start: 10px;
border-radius: 4px;
background:
url('../images/warning-stripes.svg') repeat-y left,
url('../images/warning-stripes.svg') repeat-y right,
url('@/images/warning-stripes.svg') repeat-y left,
url('@/images/warning-stripes.svg') repeat-y right,
var(--background-color);
}

View file

@ -641,7 +641,7 @@ body > [data-popper-placement] {
align-items: stretch;
&__border {
background: url('../images/warning-stripes.svg') repeat-y;
background: url('@/images/warning-stripes.svg') repeat-y;
width: 5px;
flex: 0 0 auto;

View file

@ -44,7 +44,7 @@
content: '';
width: 24px;
height: 20px;
mask-image: url('../images/quote.svg');
mask-image: url('@/images/quote.svg');
background-color: var(--rich-text-decorations-color);
position: absolute;
inset-inline-start: 0;