🐛 Fix dashboard comment title

This commit is contained in:
Eva Marco 2024-03-14 12:15:01 +01:00
parent 7436918edb
commit 4e9710ddfa
2 changed files with 8 additions and 2 deletions

View file

@ -604,11 +604,13 @@
[{:keys [group users on-thread-click]}] [{:keys [group users on-thread-click]}]
[:div {:class (stl/css :thread-group)} [:div {:class (stl/css :thread-group)}
(if (:file-name group) (if (:file-name group)
[:div {:class (stl/css :section-title)} [:div {:class (stl/css :section-title)
:title (str (:file-name group) ", " (:page-name group))}
[:span {:class (stl/css :file-name)} (:file-name group) ", "] [:span {:class (stl/css :file-name)} (:file-name group) ", "]
[:span {:class (stl/css :page-name)} (:page-name group)]] [:span {:class (stl/css :page-name)} (:page-name group)]]
[:div {:class (stl/css :section-title)} [:div {:class (stl/css :section-title)
:title (:page-name group)}
[:span {:class (stl/css :icon)} i/document] [:span {:class (stl/css :icon)} i/document]
[:span {:class (stl/css :page-name)} (:page-name group)]]) [:span {:class (stl/css :page-name)} (:page-name group)]])

View file

@ -19,6 +19,8 @@
} }
.section-title { .section-title {
display: grid;
grid-template-columns: auto auto;
@include bodySmallTypography; @include bodySmallTypography;
height: $s-32; height: $s-32;
display: flex; display: flex;
@ -27,10 +29,12 @@
} }
.file-name { .file-name {
@include textEllipsis;
color: var(--comment-subtitle-color); color: var(--comment-subtitle-color);
} }
.page-name { .page-name {
@include textEllipsis;
color: var(--comment-subtitle-color); color: var(--comment-subtitle-color);
} }