Ver código fonte

style: add left padding to editor component and remove unused CSS (#18247)

tags/1.3.0
GuanMu 6 meses atrás
pai
commit
77fde04ef7
Nenhuma conta vinculada ao e-mail do autor do commit

+ 1
- 1
web/app/components/workflow/nodes/_base/components/editor/base.tsx Ver arquivo

@@ -109,7 +109,7 @@ const Base: FC<Props> = ({
onHeightChange={setEditorContentHeight}
hideResize={isExpand}
>
<div className='h-full pb-2'>
<div className='h-full pb-2 pl-2'>
{children}
</div>
</PromptEditorHeightResizeWrap>

+ 0
- 7
web/app/components/workflow/nodes/_base/components/editor/code-editor/style.css Ver arquivo

@@ -1,10 +1,3 @@
.margin-view-overlays {
padding-left: 10px;
}

.no-wrapper .margin-view-overlays {
padding-left: 0;
}

.monaco-editor {
background-color: transparent !important;

Carregando…
Cancelar
Salvar