Commit beede53c authored by Emiliano Balbuena's avatar Emiliano Balbuena

(fix): Truncate titles to 2 lines

1 merge request!507WIP: (feat): Minds Pro (development branch) - Release 3
Pipeline #78994015 running with stages
......@@ -34,6 +34,10 @@ m-pro--channel-tile {
align-items: center;
h2 {
display: block;
text-overflow: ellipsis;
overflow: hidden;
max-height: 2.32em;
line-height: 1.16em;
font-weight: 700;
font-size: 20px;
......@@ -41,17 +45,12 @@ m-pro--channel-tile {
margin: 0;
}
p {
font-size: 13px;
text-overflow: ellipsis;
text-rendering: auto;
white-space: pre-wrap;
overflow: hidden;
max-height: 48px;
margin: 8px 0;
padding: 0;
line-height: 1.25;
color: var(--m-pro--text-color) !important;
h2 {
/*! autoprefixer: off */
display: -webkit-box;
-webkit-box-orient: vertical;
-webkit-line-clamp: 2;
line-clamp: 2;
}
}
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment