fix(home): move album ribbon to bottom-left and let overlay cover it on hover
User asked explicitly for the ribbon to sit below the hover overlay; misread the original request and put it above. Relocates ribbon to bottom:8px left:0 and drops z-index to 1 so .action-overlay (z-index 2) covers it on card hover. cc
This commit is contained in:
1 file changed
+5
-4
@@ -411,13 +411,14 @@
|
||||
}
|
||||
|
||||
/* Source badge for Local Library albums */
|
||||
/* Editorial ribbon — sits at top-left of the artwork. z-index
|
||||
above the action-overlay so it remains legible on hover. */
|
||||
/* Editorial ribbon — sits at bottom-left of the artwork. z-index
|
||||
below the action-overlay (z-index 2) so it hides on hover, as
|
||||
requested. */
|
||||
.editorial-ribbon {
|
||||
position: absolute;
|
||||
top: 8px;
|
||||
bottom: 8px;
|
||||
left: 0;
|
||||
z-index: 4;
|
||||
z-index: 1;
|
||||
padding: 3px 10px 3px 8px;
|
||||
font-family: var(--font-sans);
|
||||
font-size: 9px;
|
||||
|
||||
Reference in new issue
Block a user