Skip to content

Commit

Permalink
fix(styles): i#3957 adapt layout comment data
Browse files Browse the repository at this point in the history
  • Loading branch information
cocotime committed Sep 5, 2023
1 parent 0aad749 commit 98ac25e
Show file tree
Hide file tree
Showing 2 changed files with 16 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,7 @@ Copyright (c) 2023-present Kaleidos INC
@import url("../../styles/delete-comment-confirm.css");

:host() {
container-type: inline-size;
display: block;
}

Expand Down Expand Up @@ -108,3 +109,17 @@ Copyright (c) 2023-present Kaleidos INC
.former-user-avatar {
--no-user-avatar-size: 24px;
}

@container (inline-size < 280px) {
.comment-top {
align-items: flex-start;
}

.creation-data {
flex-direction: column;
}

.separator {
display: none;
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,7 @@
class="former-user-text"
>{{ t('commons.former_user') }}</span
>
<span></span>
<span class="separator"></span>
<span
*ngIf="comment.createdAt"
[title]="comment.createdAt | date: 'medium'"
Expand Down

0 comments on commit 98ac25e

Please sign in to comment.