Skip to content

Commit

Permalink
add template component-info.
Browse files Browse the repository at this point in the history
  • Loading branch information
wildone committed Jun 21, 2024
1 parent 3a48dd3 commit 9238d3e
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -66,4 +66,8 @@ body {
/*global utils */
body:not(.isEditMode) .hidden {
display: none;
}

[component="editinfobadge"] {
--bs-bg-opacity: .5;
}
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
<template data-sly-template.placeholder="${ @ title }">
<div data-sly-test="${wcmmode.isEdit}" component="editinfobadge" class="bg-warning">${title}</div>
</template>

0 comments on commit 9238d3e

Please sign in to comment.