From f5337cb9907e53c980f62d927b98c740a4ab2085 Mon Sep 17 00:00:00 2001 From: Varun Patil Date: Fri, 9 Sep 2022 19:20:12 -0700 Subject: [PATCH] Restore load fail background --- src/components/Photo.vue | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/components/Photo.vue b/src/components/Photo.vue index b6d29792..10d3c52d 100644 --- a/src/components/Photo.vue +++ b/src/components/Photo.vue @@ -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;