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:
parent
7436918edb
commit
4e9710ddfa
2 changed files with 8 additions and 2 deletions
|
@ -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)]])
|
||||
|
||||
|
|
|
@ -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);
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue