Merge pull request #4685 from helioguardabaxo/minicard-description

Added limit description on minicard to three lines
This commit is contained in:
Lauri Ojansivu 2022-09-14 18:58:21 +03:00 committed by GitHub
commit f1fa1580b1
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -221,13 +221,17 @@
display: none;
}
.minicard .minicard-description {
padding: 6px 0 6px 8px;
padding: 6px 0 0 8px;
background-color: #eee;
width: 100%;
margin-bottom: 2px;
margin-left: -4px;
border-radius: 3px;
display: inline-block;
overflow: hidden;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 3;
-webkit-box-orient: vertical;
}
.minicard.minicard-composer {
margin-bottom: 10px;