diff options
| author | KevinWh0 <45321184+KevinWh0@users.noreply.github.com> | 2024-02-02 21:32:08 +0100 |
|---|---|---|
| committer | KevinWh0 <45321184+KevinWh0@users.noreply.github.com> | 2024-02-02 21:32:08 +0100 |
| commit | 93bd4dc8fe08cb0b075caac4e4dc0993a49a0ed8 (patch) | |
| tree | 772bb363029c678faf0a8b1b448645d11520a835 /packages/frontend/src/components/MkCodeEditor.vue | |
| parent | Fixed code injection from twitter import (diff) | |
| download | sharkey-93bd4dc8fe08cb0b075caac4e4dc0993a49a0ed8.tar.gz sharkey-93bd4dc8fe08cb0b075caac4e4dc0993a49a0ed8.tar.bz2 sharkey-93bd4dc8fe08cb0b075caac4e4dc0993a49a0ed8.zip | |
added lines and lines to errors
Diffstat (limited to 'packages/frontend/src/components/MkCodeEditor.vue')
| -rw-r--r-- | packages/frontend/src/components/MkCodeEditor.vue | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/packages/frontend/src/components/MkCodeEditor.vue b/packages/frontend/src/components/MkCodeEditor.vue index 789acbd4c1..7334fc4d0e 100644 --- a/packages/frontend/src/components/MkCodeEditor.vue +++ b/packages/frontend/src/components/MkCodeEditor.vue @@ -204,6 +204,8 @@ watch(v, newValue => { min-width: calc(100% - 24px); height: 100%; padding: 12px; + // the +2.5 rem is because of the line numbers + padding-left: calc(12px + 2.5rem); line-height: 1.5em; font-size: 1em; font-family: Consolas, Monaco, Andale Mono, Ubuntu Mono, monospace; |