style: fix text overflow
mellbacon committed
Feb 2, 2024 at 18:48 UTC
d67f9524a620a14c46fa1fbcbcad4f40d5a0dee4
1 file changed
+7
-1
src/lib/Editor.svelte
+7
-1
@@ -202,9 +202,15 @@
202
padding-top: 7px;
203
overflow-y: overlay;
204
overflow-x: overlay !important;
205
+ width: -webkit-fill-available;
206
+ height: -webkit-fill-available !important;
207
+ position: absolute !important;
208
+ }
209
+ :global(.cm-gutters) {
210
+ z-index: 2;
211
}
212
:global(.cm-content) {
207
- padding: 0 0 200px 0 !important;
213
+ padding: 0 10px 200px 0 !important;
214
text-wrap: wrap !important;
215
}
216
:global(.cm-lineNumbers), :global(.cm-gutterElement) {