AuthorBot Cursor commited on
Commit
3e698c6
·
1 Parent(s): 69ed736

fix: hide book-cover fallback when cover image is present

Browse files
Files changed (1) hide show
  1. static/widget.js +1 -0
static/widget.js CHANGED
@@ -271,6 +271,7 @@
271
  background: linear-gradient(160deg, ${T.brand}40, ${T.bg});
272
  border: 1px solid ${T.border}; color: ${T.brand};
273
  }
 
274
  .ab-book-cover-fallback svg { width: 18px; height: 18px; opacity: 0.9; }
275
  .ab-book-meta { min-width: 0; flex: 1; overflow: hidden; }
276
  .ab-book-title {
 
271
  background: linear-gradient(160deg, ${T.brand}40, ${T.bg});
272
  border: 1px solid ${T.border}; color: ${T.brand};
273
  }
274
+ .ab-book-cover-fallback[hidden] { display: none !important; }
275
  .ab-book-cover-fallback svg { width: 18px; height: 18px; opacity: 0.9; }
276
  .ab-book-meta { min-width: 0; flex: 1; overflow: hidden; }
277
  .ab-book-title {