From 59c7e016985a04357ec3d374e9f773f6cbc502e3 Mon Sep 17 00:00:00 2001 From: FORESTIER Fabien <fabien.forestier@soprasteria.com> Date: Tue, 22 May 2018 12:06:01 +0200 Subject: [PATCH] Add link to fontawesome icons, css classes for the footer, fix wordpress post list component --- .../core/components/footer/footer.component.scss | 9 +++++++++ .../wordpress-posts-list.component.html | 13 ++++++------- webapp/src/index.html | 1 + 3 files changed, 16 insertions(+), 7 deletions(-) diff --git a/webapp/src/app/core/components/footer/footer.component.scss b/webapp/src/app/core/components/footer/footer.component.scss index 8be8f227..6fa66e2b 100644 --- a/webapp/src/app/core/components/footer/footer.component.scss +++ b/webapp/src/app/core/components/footer/footer.component.scss @@ -12,6 +12,15 @@ img, .social-network-link { vertical-align: middle; } +.social-network-link { + color: red; +} + +.left-border { + padding-left: 10px; + margin-left: 5px; +} + ul { padding-left: 0px; margin: 0px; diff --git a/webapp/src/app/editorialisation/components/wordpress-posts-list/wordpress-posts-list.component.html b/webapp/src/app/editorialisation/components/wordpress-posts-list/wordpress-posts-list.component.html index 329352cc..efe34ab0 100644 --- a/webapp/src/app/editorialisation/components/wordpress-posts-list/wordpress-posts-list.component.html +++ b/webapp/src/app/editorialisation/components/wordpress-posts-list/wordpress-posts-list.component.html @@ -1,8 +1,7 @@ <div class="tile is-ancestor" *ngIf="posts"> - <div class="row"> - <div class="col-md-4" *ngFor="let post of posts | slice:0:3" style="margin-top: 20px;"> - <app-wordpress-posts-list-tile class="tile is-parent" [post]='post'> - </app-wordpress-posts-list-tile> - </div> - </div> -</div> \ No newline at end of file + <ng-container *ngFor="let post of posts | slice:0:3"> + <app-wordpress-posts-list-tile class="tile is-parent" [post]='post'> + </app-wordpress-posts-list-tile> +</ng-container> + +</div> diff --git a/webapp/src/index.html b/webapp/src/index.html index 0db9763a..310a3ab7 100644 --- a/webapp/src/index.html +++ b/webapp/src/index.html @@ -11,6 +11,7 @@ <link href="https://fonts.googleapis.com/icon?family=Material+Icons" rel="stylesheet"> <link href='https://fonts.googleapis.com/css?family=Lato' rel='stylesheet' type='text/css'> <link href='https://fonts.googleapis.com/css?family=Open+Sans' rel='stylesheet' type='text/css'> + <link rel="stylesheet" href="https://use.fontawesome.com/releases/v5.0.13/css/all.css" integrity="sha384-DNOHZ68U8hZfKXOrtjWvjxusGo9WQnrNx2sqG0tfsghAvtVlRW3tvkXWZh58N9jp" crossorigin="anonymous"> </head> -- GitLab