mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Resize sidebar to show "Context Data" by default
This commit is contained in:
parent
8af821d380
commit
d5f789798e
@ -19,7 +19,7 @@
|
||||
top: 0px;
|
||||
right: 0px;
|
||||
bottom: 0px;
|
||||
width: 315px;
|
||||
width: var(--red-ui-sidebar-width);
|
||||
background: var(--red-ui-primary-background);
|
||||
box-sizing: border-box;
|
||||
z-index: 10;
|
||||
@ -43,7 +43,7 @@
|
||||
#red-ui-sidebar-separator {
|
||||
position: absolute;
|
||||
top: 5px;
|
||||
right: 315px;
|
||||
right: var(--red-ui-sidebar-width);
|
||||
bottom:10px;
|
||||
width: 7px;
|
||||
// z-index: 11;
|
||||
|
@ -14,4 +14,5 @@
|
||||
* limitations under the License.
|
||||
**/
|
||||
|
||||
$header-height: 48px;
|
||||
$header-height: 48px;
|
||||
$sidebar-width: 340px;
|
@ -19,6 +19,9 @@
|
||||
// Header Height
|
||||
--red-ui-header-height: #{$header-height};
|
||||
|
||||
// Sidebar width
|
||||
--red-ui-sidebar-width: #{$sidebar-width};
|
||||
|
||||
// Main body text
|
||||
--red-ui-primary-text-color: #{$primary-text-color};
|
||||
// UI control label text
|
||||
|
@ -20,7 +20,7 @@
|
||||
top:0px;
|
||||
left:179px;
|
||||
bottom: 0px;
|
||||
right: 322px;
|
||||
right: calc(var(--red-ui-sidebar-width) + 7px);
|
||||
overflow: hidden;
|
||||
@include component-border;
|
||||
transition: left 0.1s ease-in-out;
|
||||
|
Loading…
x
Reference in New Issue
Block a user