fix sketch list view bug which made the nav look ugly
This commit is contained in:
parent
17efc42778
commit
89c641c845
3 changed files with 25 additions and 17 deletions
|
@ -22,6 +22,7 @@ class SketchListView extends React.Component {
|
||||||
exportProjectAsZip={this.props.exportProjectAsZip}
|
exportProjectAsZip={this.props.exportProjectAsZip}
|
||||||
cloneProject={this.props.cloneProject}
|
cloneProject={this.props.cloneProject}
|
||||||
/>
|
/>
|
||||||
|
<div className="sketches-table-container">
|
||||||
<table className="sketches-table" summary="table containing all saved projects">
|
<table className="sketches-table" summary="table containing all saved projects">
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<tr>
|
||||||
|
@ -41,6 +42,7 @@ class SketchListView extends React.Component {
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
</div>
|
||||||
);
|
);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,6 +2,7 @@
|
||||||
width: 100%;
|
width: 100%;
|
||||||
padding: #{10 / $base-font-size}rem 0;
|
padding: #{10 / $base-font-size}rem 0;
|
||||||
padding-left: #{170 / $base-font-size}rem;
|
padding-left: #{170 / $base-font-size}rem;
|
||||||
|
height: 100%;
|
||||||
}
|
}
|
||||||
|
|
||||||
.sketches-table__row {
|
.sketches-table__row {
|
||||||
|
|
|
@ -4,3 +4,8 @@
|
||||||
height: 100%;
|
height: 100%;
|
||||||
flex-flow: column;
|
flex-flow: column;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.sketches-table-container {
|
||||||
|
flex: 1 0 0%;
|
||||||
|
overflow-y: scroll;
|
||||||
|
}
|
Loading…
Reference in a new issue