Project

General

Profile

« Previous | Next » 

Revision 58581

[Connect | Trunk]: Fix height of my communities cards

View differences:

browse-community.component.html
9 9
      <span>Private</span>
10 10
    </div>
11 11
  </div>
12
  <!--<div *ngIf="community.status =='manager'"
13
       class="uk-card-badge private-card-badge uk-width-1-3 uk-position-top-left uk-text-small uk-text-center">
14
    Private
15
  </div>
16
  <div *ngIf="community.isSubscribed"
17
       class="uk-position-top-right uk-card-badge portal-card-badge uk-width-1-2 uk-text-small uk-text-center">
18
    <span>Subscribed</span>
19
  </div>-->
20 12
  <div class="uk-card-media-top uk-padding uk-padding-remove-vertical uk-flex uk-flex-center uk-flex-middle">
21 13
    <a *ngIf="directLink" [href]="getCommunityPageUrl()" target="_blank">
22 14
      <div class="community">
......
53 45
  </div>
54 46
  <div class="uk-card-body uk-padding-small uk-padding-remove-horizontal uk-padding-remove-top uk-margin-small-top uk-margin-bottom">
55 47
    <div class="uk-text-center uk-text-bold " [ngClass]="(showDescription)?'uk-margin-bottom':''">
56
      <a *ngIf="directLink" [href]="getCommunityPageUrl()" class="color uk-text-bold" target="_blank">
48
      <a *ngIf="directLink" [href]="getCommunityPageUrl()" class="color uk-text-bold" target="_blank" [class.uk-text-small]="smallTitle">
57 49
        <span *ngIf="community.title">
58 50
          {{community.title.slice(0, thresholdTitle)}}
59 51
          <span *ngIf="community.title.length > thresholdTitle">...</span>
......
63 55
          <span *ngIf="community.shortTitle.length > thresholdTitle">...</span>
64 56
        </span>
65 57
      </a>
66
      <a *ngIf="!directLink" (click)="confirmModalOpen()" class="color uk-text-bold">
58
      <a *ngIf="!directLink" (click)="confirmModalOpen()" class="color uk-text-bold" [class.uk-text-small]="smallTitle">
67 59
        <span *ngIf="community.title">
68 60
          {{community.title.slice(0, thresholdTitle)}}
69 61
          <span *ngIf="community.title.length > thresholdTitle">...</span>

Also available in: Unified diff