mirror of
https://github.com/node-red/node-red.git
synced 2025-03-01 10:36:34 +00:00
Modify RED.panels to use flexbox position
This commit is contained in:
@@ -22,9 +22,19 @@
|
||||
// border: 1px solid red;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
|
||||
>.red-ui-panel:first-child {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
>.red-ui-panel:last-child {
|
||||
flex: 1 1 auto;
|
||||
}
|
||||
}
|
||||
|
||||
.red-ui-panels-separator {
|
||||
flex: 0 0 auto;
|
||||
border-top: 1px solid $secondary-border-color;
|
||||
border-bottom: 1px solid $secondary-border-color;
|
||||
height: 7px;
|
||||
@@ -41,6 +51,8 @@
|
||||
|
||||
.red-ui-panels.red-ui-panels-horizontal {
|
||||
height: 100%;
|
||||
flex-direction: row;
|
||||
|
||||
&>.red-ui-panel {
|
||||
vertical-align: top;
|
||||
display: inline-block;
|
||||
|
Reference in New Issue
Block a user