Skip to content

Commit 24f146f

Browse files
authored
Merge pull request #3420 from projectblacklight/home-page-icons
fix long exhibit title display
2 parents 1c2b7df + 368faf2 commit 24f146f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

app/assets/stylesheets/spotlight/_exhibits_index.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ $exhibit-card-overlay-padding: $card-img-overlay-padding * 0.5 !default;
3333
}
3434

3535
.card-img-overlay {
36+
--exhibit-card-overlay-opacity: .7;
3637
--exhibit-card-overlay-rgb: 255, 255, 255;
3738
--exhibit-card-overlay-bg: rgba(
3839
var(--exhibit-card-overlay-rgb),
@@ -74,7 +75,6 @@ $exhibit-card-overlay-padding: $card-img-overlay-padding * 0.5 !default;
7475
}
7576

7677
&:hover {
77-
--exhibit-card-overlay-opacity: .7;
7878
.exhibit-description {
7979
max-height: 450px;
8080
}

0 commit comments

Comments
 (0)