Contain contents of each division
parent
2befc7b98a
commit
fe68a96fab
|
@ -37,7 +37,7 @@ class Division extends PureComponent<Props> {
|
|||
return (
|
||||
<div className={this.className} style={this.style}>
|
||||
{this.dragHandle}
|
||||
{render()}
|
||||
<div className="resizer--contents">{render()}</div>
|
||||
</div>
|
||||
)
|
||||
}
|
||||
|
|
|
@ -231,8 +231,16 @@ $resizer-color-kapacitor: $c-rainforest;
|
|||
}
|
||||
}
|
||||
|
||||
.resizer--title.horizontal + div {
|
||||
.resizer--contents {
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
}
|
||||
|
||||
.resizer--title + .resizer--contents {
|
||||
width: 100%;
|
||||
height: calc(100% - 30px);
|
||||
position: absolute;
|
||||
top: 30px;
|
||||
top: 30px;
|
||||
overflow: hidden;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue