Commit c8067eb0 authored by Marcelo Rivera's avatar Marcelo Rivera

(fix): don't show subtext in tiles

(fix): show ellipsis when title is too long in tiles
1 merge request!507WIP: (feat): Minds Pro (development branch) - Release 3
Pipeline #77597826 pending with stages
......@@ -206,8 +206,8 @@ m-pro--channel {
a.m-proChannelTopbar__navItem {
text-decoration: none;
padding: 16px;
font-size: 18px;
padding: 8px;
font-size: 13px;
text-transform: uppercase;
letter-spacing: 0.1em;
......
......@@ -24,18 +24,20 @@ m-pro--channel-tile {
bottom: 0;
background-color: var(--m-pro--transparent-background-color);
color: var(--m-pro--text-color);
padding: 16px 16px 0;
padding: 8px 16px;
font-size: 20px;
width: 100%;
box-sizing: border-box;
h2 {
font-weight: 700;
font-size: 20px;
line-height: 20px;
overflow: visible;
color: var(--m-pro--text-color) !important;
margin: 0;
font-weight: 700;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
p {
......
......@@ -6,7 +6,6 @@ import { Component, Input } from '@angular/core';
<img [src]="entity.thumbnail_src">
<div class="m-proChannelTile__text" *ngIf="getTitle() || getText()">
<h2>{{getTitle()}}</h2>
<p [innerHTML]="getText()"></p>
</div>
`
})
......
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