diff --git a/web/annotation_editor_layer_builder.css b/web/annotation_editor_layer_builder.css index 39b1ab16f..c51906526 100644 --- a/web/annotation_editor_layer_builder.css +++ b/web/annotation_editor_layer_builder.css @@ -65,8 +65,7 @@ .annotationEditorLayer { background: transparent; position: absolute; - top: 0; - left: 0; + inset: 0; font-size: calc(100px * var(--scale-factor)); transform-origin: 0 0; cursor: auto; @@ -111,8 +110,7 @@ .annotationEditorLayer .freeTextEditor .internal { background: transparent; border: none; - top: 0; - left: 0; + inset: 0; overflow: visible; white-space: nowrap; font: 10px sans-serif; @@ -124,8 +122,7 @@ position: absolute; display: none; background: transparent; - top: 0; - left: 0; + inset: 0; width: 100%; height: 100%; } @@ -160,8 +157,7 @@ .annotationEditorLayer .inkEditor .inkEditorCanvas { position: absolute; - top: 0; - left: 0; + inset: 0; width: 100%; height: 100%; touch-action: none;