Skip to content

Commit

Permalink
partlist Y scroll (#63)
Browse files Browse the repository at this point in the history
  • Loading branch information
smariel committed Sep 13, 2019
1 parent adc1875 commit cd35f48
Show file tree
Hide file tree
Showing 3 changed files with 28 additions and 21 deletions.
2 changes: 1 addition & 1 deletion css/partListEditor.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

41 changes: 22 additions & 19 deletions html/partListEditor.html
Original file line number Diff line number Diff line change
Expand Up @@ -15,26 +15,29 @@
</head>

<body>
<table class="partlist">
<thead>
<tr class="tr_top">
<th class="th_charac" colspan="5">Part Description</th>
<th class="th_power" colspan="2">Total Power</th>
</tr>
<tr class="tr_bottom">
<th class="th_charac">#</th>
<th class="th_charac">Name</th>
<th class="th_charac">Part Number</th>
<th class="th_charac">Function</th>
<th class="th_charac">Tags</th>
<th class="th_power th_typ">P<sub>TYP</sub></th>
<th class="th_power th_max">P<sub>MAX</sub></th>
</tr>
</thead>
<tbody>
<div class="partlist_container">
<table class="partlist">
<thead>
<tr class="tr_top">
<th class="th_charac" colspan="5">Part Description</th>
<th class="th_power" colspan="2">Total Power</th>
</tr>
<tr class="tr_bottom">
<th class="th_charac">#</th>
<th class="th_charac">Name</th>
<th class="th_charac">Part Number</th>
<th class="th_charac">Function</th>
<th class="th_charac">Tags</th>
<th class="th_power th_typ">P<sub>TYP</sub></th>
<th class="th_power th_max">P<sub>MAX</sub></th>
</tr>
</thead>
<tbody>

</tbody>
</table>
</div>

</tbody>
</table>
<div class="emptyzone">
</div>

Expand Down
6 changes: 5 additions & 1 deletion sass/partListEditor.scss
Original file line number Diff line number Diff line change
Expand Up @@ -12,9 +12,13 @@ body {
user-select: none;
}

.partlist_container {
flex-grow: 0;
overflow-y: visible;
}

.partlist {
min-width: 100%;
flex-grow: 0;
}

.emptyzone {
Expand Down

0 comments on commit cd35f48

Please sign in to comment.