0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-01-24 23:49:45 -05:00

🐛 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]}]
[:div {:class (stl/css :thread-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 :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 :page-name)} (:page-name group)]])

View file

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