File tree Expand file tree Collapse file tree 1 file changed +7
-1
lines changed
src/Umbraco.Web.UI.Client/src/packages/tiptap/components/input-tiptap Expand file tree Collapse file tree 1 file changed +7
-1
lines changed Original file line number Diff line number Diff line change @@ -8,6 +8,12 @@ import type { UmbPropertyEditorConfigCollection } from '@umbraco-cms/backoffice/
88
99import '../cascading-menu-popover/cascading-menu-popover.element.js' ;
1010
11+ /**
12+ * Provides a sticky toolbar for the {@link UmbInputTiptapElement}
13+ * @element umb-tiptap-toolbar
14+ * @cssprop --umb-tiptap-edge-border-color - Defines the edge border color
15+ * @cssprop --umb-tiptap-top - Defines the top value for the sticky toolbar
16+ */
1117@customElement ( 'umb-tiptap-toolbar' )
1218export class UmbTiptapToolbarElement extends UmbLitElement {
1319 #attached = false ;
@@ -108,7 +114,7 @@ export class UmbTiptapToolbarElement extends UmbLitElement {
108114 flex- direction: column;
109115
110116 position: sticky;
111- to p: - 25px;
117+ to p: var( - - umb - tiptap - to p , - 25px) ;
112118 left: 0;
113119 right: 0;
114120 padding: var(- - uui- size-3);
You can’t perform that action at this time.
0 commit comments