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