Skip to content

Commit

Permalink
chore: set editor font size to something less dumb
Browse files Browse the repository at this point in the history
Signed-off-by: Evan Song <[email protected]>
  • Loading branch information
ferothefox committed Oct 15, 2024
1 parent a43e8ae commit a83ff30
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions apps/frontend/src/pages/servers/manage/[id]/files.vue
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
lang="json"
theme="one_dark"
:print-margin="false"
style="height: 750px"
style="height: 750px; font-size: 1rem"
class="ace_editor ace_hidpi ace-one-dark ace_dark rounded-b-lg"
@init="onInit"
/>
Expand Down Expand Up @@ -359,8 +359,6 @@ const onInit = (editor: any) => {
bindKey: { win: "Ctrl-S", mac: "Command-S" },
exec: () => saveFileContent(false),
});
// set font size
editor.setFontSize(20);
};
const fetchData = async () => {
Expand Down

0 comments on commit a83ff30

Please sign in to comment.