From 895eef7a0e03c818110e35c3ddbe4a06885727a5 Mon Sep 17 00:00:00 2001 From: ncamera <nico_camera98@hotmail.com> Date: Fri, 11 Nov 2022 03:26:30 -0300 Subject: [PATCH] Arreglar posicionamiento del texto en el Codemirror --- .../src/styles/_responsive.scss | 27 +++++++++++++++++++ 1 file changed, 27 insertions(+) diff --git a/Frontend Angular 4/src/styles/_responsive.scss b/Frontend Angular 4/src/styles/_responsive.scss index 47cb413..5db3253 100755 --- a/Frontend Angular 4/src/styles/_responsive.scss +++ b/Frontend Angular 4/src/styles/_responsive.scss @@ -153,3 +153,30 @@ text { .matefun-tab-page { transform: translateY(-33px); } + +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - +// WA para corregir el posicionamiento del texto en el Codemirror cuando se +// inicia sin lineas, dado que las mismas aparecen fuera de los bordes +// izquierdos +.CodeMirror-lines { + padding-inline-start: 39px !important; +} + +.CodeMirror-linenumber { + transform: translateX(-39px); +} + +.CodeMirror-gutter-background { + width: 0 !important; + left: 0 !important; +} + +.CodeMirror-gutter-wrapper, +.CodeMirror-gutters { + left: 0 !important; +} + +.CodeMirror-linenumbers { + width: 0 !important; +} +// - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- GitLab