updated article page layout (buttons & meta)
Frontend CI/CD / test-and-build (push) Successful in 25s
Frontend CI/CD / deploy (push) Successful in 26s

This commit is contained in:
itzMiney committed 2026-11-08 21:49:04 +01:00
1 parent e7ed9f047f
commit eaf936f846
2 files changed
+13 -16

No files matched your search

@@ -113,7 +113,7 @@ h1 {
.article-meta { .article-meta {
display: flex; display: flex;
flex-direction: row; flex-direction: row;
justify-content: space-between; gap: 3rem;
font-size: 0.95rem; font-size: 0.95rem;
color: rgb(168 168 211); color: rgb(168 168 211);
text-align: left; text-align: left;
@@ -128,10 +128,6 @@ h1 {
margin: 0; margin: 0;
} }
.article-meta .meta-right strong {
font-size: 0.8rem;
}
.article-meta .meta-left, .article-meta .meta-right { .article-meta .meta-left, .article-meta .meta-right {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
@@ -143,8 +139,8 @@ h1 {
flex-direction: row; flex-direction: row;
align-items: center; align-items: center;
color: white; color: white;
justify-content: space-between; gap: 3rem;
margin: 0 0 5px 15px; margin: 0 0 15px 15px;
} }
.article-buttons i { .article-buttons i {
@@ -154,13 +150,12 @@ h1 {
.article-buttons .buttons-left { .article-buttons .buttons-left {
display: inline-flex; display: inline-flex;
gap: 20px; gap: 20px;
margin-bottom: 10px;
cursor: pointer; cursor: pointer;
} }
.article-buttons .buttons-right { .article-buttons .buttons-right {
display: inline-flex; display: inline-flex;
margin-top: auto; margin-left: 15px;
align-items: center; align-items: center;
gap: 0.5rem; gap: 0.5rem;
} }
@@ -48,13 +48,15 @@
{{ article.createdAt | date:('TIME.FORMAT' | translate) }} {{ article.createdAt | date:('TIME.FORMAT' | translate) }}
{{ 'TIME.SUFFIX' | translate }}</p> {{ 'TIME.SUFFIX' | translate }}</p>
</div> </div>
<div class="meta-right"> @if (article.updatedAt) {
<p><strong>{{ 'UPDATED_AT' | translate }}</strong></p> <div class="meta-right">
<p>{{ article.updatedAt | date:'mediumDate' }}<br> <p><strong>{{ 'UPDATED_AT' | translate }}</strong></p>
{{ 'TIME.PREFIX' | translate}} <p>{{ article.updatedAt | date:'mediumDate' }}<br>
{{ article.updatedAt | date:('TIME.FORMAT' | translate) }} {{ 'TIME.PREFIX' | translate}}
{{ 'TIME.SUFFIX' | translate }}</p> {{ article.updatedAt | date:('TIME.FORMAT' | translate) }}
</div> {{ 'TIME.SUFFIX' | translate }}</p>
</div>
}
</div> </div>
</div> </div>
</div> </div>