_measureHeight (heightJustChanged) {
if (this.props.measureHeight && this.node) {
- scheduleIdleTask(() => this.node && this.setState({ height: this.node.scrollHeight }));
+ scheduleIdleTask(() => this.node && this.setState({ height: Math.ceil(this.node.scrollHeight) + 1 }));
if (this.props.onHeightChange && heightJustChanged) {
this.props.onHeightChange();
.statuses-grid {
min-height: 600px;
+ @media screen and (max-width: 640px) {
+ width: 100% !important; // Masonry layout is unnecessary at this width
+ }
+
&__item {
width: (960px - 20px) / 3;
width: (940px - 20px) / 3;
}
+ @media screen and (max-width: 640px) {
+ width: 100%;
+ }
+
@media screen and (max-width: $no-gap-breakpoint) {
width: 100vw;
}
border-radius: 4px;
@media screen and (max-width: $no-gap-breakpoint) {
- border-bottom: 1px solid lighten($ui-base-color, 12%);
+ border-top: 1px solid lighten($ui-base-color, 16%);
}
&.compact {