From fb63e42819aa3d8a4745ce9b0a81f307ec46580b Mon Sep 17 00:00:00 2001 From: ncamera <nico_camera98@hotmail.com> Date: Sat, 12 Nov 2022 02:18:24 -0300 Subject: [PATCH] Corregir posicionamiento del texto en el Codemirror --- .../src/styles/_responsive.scss | 22 +++++++------------ 1 file changed, 8 insertions(+), 14 deletions(-) diff --git a/Frontend Angular 4/src/styles/_responsive.scss b/Frontend Angular 4/src/styles/_responsive.scss index 79764e9..009b666 100755 --- a/Frontend Angular 4/src/styles/_responsive.scss +++ b/Frontend Angular 4/src/styles/_responsive.scss @@ -152,25 +152,19 @@ text { // 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-gutters { + left: 0 !important; } -.CodeMirror-linenumber { - transform: translateX(-39px); +.CodeMirror-gutter.CodeMirror-linenumbers { + width: 34px !important; } -.CodeMirror-gutter-background { - width: 0 !important; - left: 0 !important; +.CodeMirror-sizer { + margin-left: 45px !important; } -.CodeMirror-gutter-wrapper, -.CodeMirror-gutters { - left: 0 !important; -} - -.CodeMirror-linenumbers { - width: 0 !important; +.CodeMirror-linenumber { + padding-left: 0px !important; } // - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- GitLab