.inkstroke-UI { // transform-origin: top left; position: absolute; overflow: visible; pointer-events: none; z-index: 2001; // 1 higher than documentdecorations svg:not(:root) { overflow: visible !important; position: absolute; left: 0px; top: 0px; } } .inkStroke-wrapper { display: flex; align-items: center; height: 100%; width: 100%; transition: inherit; .inkStroke { mix-blend-mode: multiply; stroke-linejoin: round; stroke-linecap: round; overflow: visible !important; transform-origin: top left; width: 100%; height: 100%; pointer-events: none; transition: inherit; svg:not(:root) { overflow: visible !important; transition: inherit; } } .inkStroke-text { position: absolute; &:hover { background: #9f9f9f0a; } > .formattedTextBox { position: relative; } } }