Use absolute paths for new working/not-found SVGs

This allows these component styles to be used in i.e. the win95 skin.
master
David Yip 7 years ago
parent bcd86404da
commit 3896cd5d79
No known key found for this signature in database
GPG Key ID: 7DA0036508FCC0CC
  1. 4
      app/javascript/styles/mastodon/components.scss

@ -2323,7 +2323,7 @@
} }
&__figure { &__figure {
background: url('../images/elephant_ui_working.svg') no-repeat center 0; background: url('~images/elephant_ui_working.svg') no-repeat center 0;
width: 100%; width: 100%;
height: 160px; height: 160px;
background-size: contain; background-size: contain;
@ -2337,7 +2337,7 @@
padding-top: 20px + 48px; padding-top: 20px + 48px;
.regeneration-indicator__figure { .regeneration-indicator__figure {
background-image: url('../images/elephant_ui_disappointed.svg'); background-image: url('~images/elephant_ui_disappointed.svg');
} }
} }

Loading…
Cancel
Save