Skip to content
Snippets Groups Projects

Make figcaption visible

Merged codecraft requested to merge make_figcaption_visible into master
4 files
+ 5
29
Compare changes
  • Side-by-side
  • Inline
Files
4
+ 2
20
@@ -3,27 +3,9 @@
height: 70%;
}
.caption {
.card > .card-image figure.image > figcaption {
position: absolute;
max-width: 100%;
opacity: 75%;
padding: 4px 4px 4px 4px;
bottom: 0;
}
.caption:hover>figcaption {
height: 100%;
text-wrap: wrap;
}
.caption>figcaption {
display: block;
margin: 0 0 0 0!important;
padding-top: 3px;
padding-bottom: 3px;
position: relative;
width: 100%;
text-overflow: ellipsis;
overflow: hidden;
text-wrap: nowrap;
opacity: 75%;
}
Loading