Restore load fail background

pull/37/head
Varun Patil 2022-09-09 19:20:12 -07:00
parent f4fe2acdab
commit f5337cb990
1 changed files with 2 additions and 0 deletions

View File

@ -3,6 +3,7 @@
:class="{
'selected': (data.flag & c.FLAG_SELECTED),
'p-loading': !(data.flag & c.FLAG_LOADED),
'load-fail': (data.flag & c.FLAG_LOAD_FAIL),
'leaving': (data.flag & c.FLAG_LEAVING),
'exit-left': (data.flag & c.FLAG_EXIT_LEFT),
'enter-right': (data.flag & c.FLAG_ENTER_RIGHT),
@ -258,6 +259,7 @@ div.img-outer {
.selected & { padding: 6%; }
.p-loading & { background-color: var(--color-loading-light); }
.load-fail & { background-color: var(--color-loading-light); }
}
img {
background-clip: content-box;