mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Add markdown-preview to expandable editor for ndoe descriptions
This commit is contained in:
14
packages/node_modules/@node-red/editor-client/src/sass/editor.scss
generated
vendored
14
packages/node_modules/@node-red/editor-client/src/sass/editor.scss
generated
vendored
@@ -56,6 +56,7 @@
|
||||
}
|
||||
.editor-tray-content {
|
||||
overflow: auto;
|
||||
position: relative;
|
||||
}
|
||||
.editor-tray-header {
|
||||
@include disable-selection;
|
||||
@@ -312,7 +313,18 @@
|
||||
float: none;
|
||||
text-align: right;
|
||||
}
|
||||
|
||||
.node-input-markdown-editor #dialog-form {
|
||||
margin: 0;
|
||||
height: 100%;
|
||||
.red-ui-panel {
|
||||
&:first-child {
|
||||
padding: 20px 20px 0;
|
||||
}
|
||||
&:last-child {
|
||||
padding-bottom: 20px;
|
||||
}
|
||||
}
|
||||
}
|
||||
#clipboard-hidden {
|
||||
position: absolute;
|
||||
top: -3000px;
|
||||
|
21
packages/node_modules/@node-red/editor-client/src/sass/panels.scss
generated
vendored
21
packages/node_modules/@node-red/editor-client/src/sass/panels.scss
generated
vendored
@@ -17,7 +17,7 @@
|
||||
|
||||
.red-ui-panels {
|
||||
position: relative;
|
||||
|
||||
overflow: hidden;
|
||||
& > div {
|
||||
// border: 1px solid red;
|
||||
box-sizing: border-box;
|
||||
@@ -38,3 +38,22 @@
|
||||
overflow: auto;
|
||||
height: calc(50% - 4px);
|
||||
}
|
||||
|
||||
.red-ui-panels.red-ui-panels-horizontal {
|
||||
height: 100%;
|
||||
.red-ui-panel {
|
||||
display: inline-block;
|
||||
height: 100%;
|
||||
width: calc(50% - 4px);
|
||||
}
|
||||
.red-ui-panels-separator {
|
||||
border-top: none;
|
||||
border-bottom: none;
|
||||
border-left: 1px solid $secondary-border-color;
|
||||
border-right: 1px solid $secondary-border-color;
|
||||
height: 100%;
|
||||
width: 7px;
|
||||
display: inline-block;
|
||||
cursor: ew-resize;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user