Skip to content

Commit

Permalink
chore: combo meter top right alignment css
Browse files Browse the repository at this point in the history
  • Loading branch information
slowquery committed May 11, 2024
1 parent 7bbc4f6 commit 58f166f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/combo/editor-combo-meter.ts
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ export class EditorComboMeter implements Plugin<EditorComboMeterConfig> {
// 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",
Expand Down Expand Up @@ -294,4 +294,4 @@ export class EditorComboMeter implements Plugin<EditorComboMeterConfig> {

return cssString;
}
}
}

0 comments on commit 58f166f

Please sign in to comment.