diff --git a/packages/default/scss/pdf-viewer/_layout.scss b/packages/default/scss/pdf-viewer/_layout.scss index 333bc49cb1d..f0ba1b58a00 100644 --- a/packages/default/scss/pdf-viewer/_layout.scss +++ b/packages/default/scss/pdf-viewer/_layout.scss @@ -149,6 +149,7 @@ section { position: absolute; + pointer-events: auto; } .k-annotation-text-content { @@ -160,6 +161,14 @@ user-select: none; pointer-events: none; } + + .k-link-annotation > a { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } } .k-annotation-editor-layer { @@ -193,6 +202,12 @@ height: 100%; pointer-events: auto; } + + &.k-highlight-editor-disabled { + .k-internal { + pointer-events: none; + } + } } .k-free-text-editor { diff --git a/packages/fluent/scss/pdf-viewer/_layout.scss b/packages/fluent/scss/pdf-viewer/_layout.scss index 214f0ea699b..edb3c17122a 100644 --- a/packages/fluent/scss/pdf-viewer/_layout.scss +++ b/packages/fluent/scss/pdf-viewer/_layout.scss @@ -146,6 +146,7 @@ section { position: absolute; + pointer-events: auto; } .k-annotation-text-content { @@ -157,6 +158,14 @@ user-select: none; pointer-events: none; } + + .k-link-annotation > a { + position: absolute; + top: 0; + left: 0; + width: 100%; + height: 100%; + } } .k-annotation-editor-layer { @@ -190,6 +199,12 @@ height: 100%; pointer-events: auto; } + + &.k-highlight-editor-disabled { + .k-internal { + pointer-events: none; + } + } } .k-free-text-editor {