0
Fork 0
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:
Eva Marco 2023-07-14 14:43:43 +02:00 committed by GitHub
commit 13560bc866
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 11 additions and 2 deletions

View file

@ -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;

View file

@ -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"