updated article page layout (buttons & meta)
This commit is contained in:
1 parent
e7ed9f047f
commit
eaf936f846
2 files changed
+6
-9
No files matched your search
@@ -113,7 +113,7 @@ h1 {
|
||||
.article-meta {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
justify-content: space-between;
|
||||
gap: 3rem;
|
||||
font-size: 0.95rem;
|
||||
color: rgb(168 168 211);
|
||||
text-align: left;
|
||||
@@ -128,10 +128,6 @@ h1 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.article-meta .meta-right strong {
|
||||
font-size: 0.8rem;
|
||||
}
|
||||
|
||||
.article-meta .meta-left, .article-meta .meta-right {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
@@ -143,8 +139,8 @@ h1 {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
color: white;
|
||||
justify-content: space-between;
|
||||
margin: 0 0 5px 15px;
|
||||
gap: 3rem;
|
||||
margin: 0 0 15px 15px;
|
||||
}
|
||||
|
||||
.article-buttons i {
|
||||
@@ -154,13 +150,12 @@ h1 {
|
||||
.article-buttons .buttons-left {
|
||||
display: inline-flex;
|
||||
gap: 20px;
|
||||
margin-bottom: 10px;
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
.article-buttons .buttons-right {
|
||||
display: inline-flex;
|
||||
margin-top: auto;
|
||||
margin-left: 15px;
|
||||
align-items: center;
|
||||
gap: 0.5rem;
|
||||
}
|
||||
|
||||
@@ -48,6 +48,7 @@
|
||||
{{ article.createdAt | date:('TIME.FORMAT' | translate) }}
|
||||
{{ 'TIME.SUFFIX' | translate }}</p>
|
||||
</div>
|
||||
@if (article.updatedAt) {
|
||||
<div class="meta-right">
|
||||
<p><strong>{{ 'UPDATED_AT' | translate }}</strong></p>
|
||||
<p>{{ article.updatedAt | date:'mediumDate' }}<br>
|
||||
@@ -55,6 +56,7 @@
|
||||
{{ article.updatedAt | date:('TIME.FORMAT' | translate) }}
|
||||
{{ 'TIME.SUFFIX' | translate }}</p>
|
||||
</div>
|
||||
}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in new issue
Block a user