mirror of
https://github.com/penpot/penpot.git
synced 2025-06-07 08:41:40 +02: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]}]
|
[{: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)]])
|
||||||
|
|
||||||
|
|
|
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue