diff --git a/blocks/edit/da-library/da-library.css b/blocks/edit/da-library/da-library.css index 024f69b1..cc169e53 100644 --- a/blocks/edit/da-library/da-library.css +++ b/blocks/edit/da-library/da-library.css @@ -292,6 +292,12 @@ ul { flex: 1 1 0%; } +.da-library-type-item-detail .template-link { + position: relative; + top: 1px; + color: unset; +} + .da-library-type-item-btn .icon { opacity: 0; } @@ -388,10 +394,23 @@ ul { outline: none; } +.da-library-type-group-detail-item button .block-name { + flex-grow: 1; +} + +.da-library-type-group-detail-item button a { + color: unset; +} + .da-library-type-group-detail-item button .icon { margin-top: 2px; display: block; opacity: 0; + margin-left: 10px; +} + +.da-library-type-group-detail-item button .icon.preview { + margin-top: 0; } .da-library-type-group-detail-item button:hover .icon, diff --git a/blocks/edit/da-library/da-library.js b/blocks/edit/da-library/da-library.js index e742397e..569c3323 100644 --- a/blocks/edit/da-library/da-library.js +++ b/blocks/edit/da-library/da-library.js @@ -25,6 +25,7 @@ const ICONS = [ '/blocks/edit/img/Smock_ExperienceAdd_18_N.svg', '/blocks/browse/img/Smock_ChevronRight_18_N.svg', '/blocks/edit/img/Smock_AddCircle_18_N.svg', + '/blocks/edit/img/Smock_Preview_18_N.svg', ]; let accessToken; @@ -319,15 +320,18 @@ class DaLibrary extends LitElement { }, 750); } - renderBlockItem(item, icon = false) { + renderBlockItem(item, path, icon = false) { return html`