CSS: Don't add padding top to the dashelt caption

When you add some text that exceeds the webkit line clamp, the dashlet caption
looks off to me. Since the caption doesn't have padding-bottom, we shouldn't
also add padding-top to it.
This commit is contained in:
Yonas Habteab 2022-06-13 09:00:23 +02:00
parent 628b270e51
commit af7263d216

View File

@ -217,7 +217,7 @@
}
.caption {
padding: .25em .5em 0 .5em;
padding: 0 .5em 0 .5em;
height: 3em;
overflow: hidden;
display: -webkit-box;