From 58f166f1e95f3e467ca48a1c13ec6d7c1ebcf189 Mon Sep 17 00:00:00 2001 From: slowquery Date: Sun, 12 May 2024 00:07:00 +0900 Subject: [PATCH] chore: combo meter top right alignment css --- src/combo/editor-combo-meter.ts | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/combo/editor-combo-meter.ts b/src/combo/editor-combo-meter.ts index 927635d..d26caf6 100644 --- a/src/combo/editor-combo-meter.ts +++ b/src/combo/editor-combo-meter.ts @@ -29,7 +29,7 @@ export class EditorComboMeter implements Plugin { // NOTE: This positions the element off the screen when there is horizontal scroll // so this feature works best when "word wrap" is enabled. // Using "5vw" instead did not limit the position to the viewable width. - right: "5%", + left: "calc(100vw - 25rem)", top: "20px", ['font-family']: "monospace", @@ -294,4 +294,4 @@ export class EditorComboMeter implements Plugin { return cssString; } -} \ No newline at end of file +}