mirror of
https://github.com/penpot/penpot.git
synced 2025-01-09 00:10:11 -05:00
Merge pull request #3422 from penpot/palba-fix-library-title-style
🐛 Fix incorrect style for asset libraries titles
This commit is contained in:
commit
13560bc866
2 changed files with 11 additions and 2 deletions
|
@ -85,6 +85,15 @@
|
|||
}
|
||||
}
|
||||
|
||||
span.library-title {
|
||||
color: $color-gray-10;
|
||||
font-size: $fs14;
|
||||
max-width: 100%;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.tool-window-bar-icon {
|
||||
height: 21px;
|
||||
display: flex;
|
||||
|
|
|
@ -2100,11 +2100,11 @@
|
|||
|
||||
(if local?
|
||||
[:*
|
||||
[:span file-name " (" (tr "workspace.assets.local-library") ")"]
|
||||
[:span.library-title file-name " (" (tr "workspace.assets.local-library") ")"]
|
||||
(when shared?
|
||||
[:span.tool-badge (tr "workspace.assets.shared")])]
|
||||
[:*
|
||||
[:span file-name]
|
||||
[:span.library-title file-name]
|
||||
[:span.tool-link.tooltip.tooltip-left {:alt "Open library file"}
|
||||
[:a {:href (str "#" url)
|
||||
:target "_blank"
|
||||
|
|
Loading…
Reference in a new issue