0
Fork 0
mirror of https://github.com/penpot/penpot.git synced 2025-02-09 16:48:16 -05:00

Fix incorrect style for layers tab titles

This commit is contained in:
Pablo Alba 2023-07-25 09:45:52 +02:00
parent fb4ee4a355
commit 6e73e7cc71
3 changed files with 16 additions and 1 deletions

View file

@ -416,6 +416,12 @@ span.element-name {
.page-name {
padding: 8px;
margin-top: 8px;
color: #e3e3e3;
font-size: 0.875rem;
max-width: 90%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.icon-search {
margin-top: 8px;

View file

@ -60,6 +60,15 @@
white-space: nowrap;
}
span.pages-title {
color: #e3e3e3;
font-size: 0.875rem;
max-width: 100%;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
span.tool-badge {
border: 1px solid $color-primary;
border-radius: $br2;

View file

@ -270,7 +270,7 @@
[:div#sitemap.tool-window {:ref parent-ref
:style #js {"--height" (str size "px")}}
[:div.tool-window-bar
[:span (tr "workspace.sidebar.sitemap")]
[:span.pages-title (tr "workspace.sidebar.sitemap")]
(if workspace-read-only?
[:div.view-only-mode (tr "labels.view-only")]
[:div.add-page {:on-click create} i/close])