From e20aad502db84766f9d3ae4fc0c3b25196e9b266 Mon Sep 17 00:00:00 2001 From: Sebastian Wittek <sebastian.wittek@mni.thm.de> Date: Fri, 12 Apr 2019 10:21:25 +0200 Subject: [PATCH] change div class id to meaningfull name --- .../components/shared/comment/comment.component.html | 2 +- .../components/shared/comment/comment.component.scss | 10 +--------- 2 files changed, 2 insertions(+), 10 deletions(-) diff --git a/src/app/components/shared/comment/comment.component.html b/src/app/components/shared/comment/comment.component.html index 33c905ab8..47f0f0ef7 100644 --- a/src/app/components/shared/comment/comment.component.html +++ b/src/app/components/shared/comment/comment.component.html @@ -26,7 +26,7 @@ </div> </div> </div> - <div id="footer"> + <div id="date"> <div *ngIf="lang === 'de'; else englishDate"> {{comment.timestamp | date: ' HH:mm:ss '}}Uhr,{{comment.timestamp | date: ' M.d.yy'}} </div> diff --git a/src/app/components/shared/comment/comment.component.scss b/src/app/components/shared/comment/comment.component.scss index 94263c7cd..a036f49ec 100644 --- a/src/app/components/shared/comment/comment.component.scss +++ b/src/app/components/shared/comment/comment.component.scss @@ -77,14 +77,6 @@ h2 { text-overflow: ellipsis; } -.date { - position: fixed; - bottom: 0; - right: 0; -} - -#footer { - margin-left: 0; +#date { margin-top: 1.2%; - } -- GitLab