Skip to content

Commit

Permalink
Merge branch '4.5' into main
Browse files Browse the repository at this point in the history
  • Loading branch information
vidarl committed Mar 4, 2024
2 parents f2c7d37 + fa7f5f0 commit 9fbe467
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -48,7 +48,9 @@ class IbexaCustomTagEditing extends Plugin {
</button>`;

domElement.innerHTML = `
<div class="ibexa-custom-tag__header-title">${customTagConfig.label}</div>
<div class="ibexa-custom-tag__header-title" data-cke-tooltip-text="${customTagConfig.label}">
${customTagConfig.label}
</div>
<div class="ibexa-custom-tag__header-actions">
${Object.keys(customTagConfig.attributes).length ? attributesButton : ''}
<button type="button" class="ibexa-btn ibexa-btn--ghost ibexa-btn--small ibexa-btn--no-text ibexa-btn--remove-custom-tag">
Expand Down
7 changes: 7 additions & 0 deletions src/bundle/Resources/public/scss/_custom-tag.scss
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,13 @@
border-top-right-radius: $ibexa-border-radius;
}

&__header-title {
text-overflow: ellipsis;
white-space: nowrap;
overflow: hidden;
width: 80%;
}

&[data-ezelement='eztemplateinline'] {
padding: calculateRem(4px) calculateRem(8px);
}
Expand Down

0 comments on commit 9fbe467

Please sign in to comment.