0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-10 09:08:31 -05:00

🐛 Fix incorrect style for asset libraries titles

This commit is contained in:
Pablo Alba 2023-07-14 09:22:08 +02:00
parent 1106ebc377
commit 203b6c63a4
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"