socialnetworknews-web

A open-source Paper.li clone
git clone git://archive.git.mtrnord.blog/SocialNetworkNews/socialnetworknews-web.git
Log | Files | Refs | README | LICENSE

commit 26b26f5fb6dd9dba27818abbe795e297f121dea1
parent 242312d0d6525e805c8cd4294dcdfe94868f2b47
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 25 Mar 2018 15:29:42 +0200

Try to improve the flex grid

Diffstat:
Msrc/app/tweet-list/tweet-list.component.html | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/app/tweet-list/tweet-list.component.html b/src/app/tweet-list/tweet-list.component.html @@ -1,6 +1,6 @@ <spinner spinner="spinner"></spinner> -<div fxLayout="row" fxLayout.xs="column" fxLayoutWrap fxLayoutGap="0.5%" fxLayoutAlign="center"> - <mat-card *ngFor="let item of data"> +<div fxLayout="column wrap" fxLayoutWrap fxLayoutGap="10px" fxLayoutAlign="center"> + <mat-card *ngFor="let item of data" fxFlex="calc(50% - 10px)"> <div class="ribbon ribbon-top-left" *ngIf="item.retweet" style="max-width: 22rem"> <span> <i class="fa fa-retweet"></i>