[Editor] Use inset instead of top/left in css
This commit is contained in:
parent
e00629966d
commit
84e6154b0f
@ -65,8 +65,7 @@
|
|||||||
.annotationEditorLayer {
|
.annotationEditorLayer {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
inset: 0;
|
||||||
left: 0;
|
|
||||||
font-size: calc(100px * var(--scale-factor));
|
font-size: calc(100px * var(--scale-factor));
|
||||||
transform-origin: 0 0;
|
transform-origin: 0 0;
|
||||||
cursor: auto;
|
cursor: auto;
|
||||||
@ -111,8 +110,7 @@
|
|||||||
.annotationEditorLayer .freeTextEditor .internal {
|
.annotationEditorLayer .freeTextEditor .internal {
|
||||||
background: transparent;
|
background: transparent;
|
||||||
border: none;
|
border: none;
|
||||||
top: 0;
|
inset: 0;
|
||||||
left: 0;
|
|
||||||
overflow: visible;
|
overflow: visible;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
font: 10px sans-serif;
|
font: 10px sans-serif;
|
||||||
@ -124,8 +122,7 @@
|
|||||||
position: absolute;
|
position: absolute;
|
||||||
display: none;
|
display: none;
|
||||||
background: transparent;
|
background: transparent;
|
||||||
top: 0;
|
inset: 0;
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
}
|
}
|
||||||
@ -160,8 +157,7 @@
|
|||||||
|
|
||||||
.annotationEditorLayer .inkEditor .inkEditorCanvas {
|
.annotationEditorLayer .inkEditor .inkEditorCanvas {
|
||||||
position: absolute;
|
position: absolute;
|
||||||
top: 0;
|
inset: 0;
|
||||||
left: 0;
|
|
||||||
width: 100%;
|
width: 100%;
|
||||||
height: 100%;
|
height: 100%;
|
||||||
touch-action: none;
|
touch-action: none;
|
||||||
|
Loading…
Reference in New Issue
Block a user