Skip to content

Commit

Permalink
Fixed issue #4
Browse files Browse the repository at this point in the history
  • Loading branch information
TerribleCoding committed Oct 26, 2021
1 parent f32fe12 commit ee7fa93
Show file tree
Hide file tree
Showing 15 changed files with 21 additions and 15 deletions.
2 changes: 1 addition & 1 deletion pages/c-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h3 class="back">Back to index</h3>
<caption>Material data</caption>
<tr>
<td class="index">Material</td>
<td class="value" id="combo">
<td class="value combo" id="mat-select" colspan="2">
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pages/common.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@ function preload() {
materials = loadTable("../assets/db/materials-temp.csv", "csv", "header");

pageName = location.pathname.split("/").slice(-1)[0].split(".")[0];
combo = document.getElementById('combo');
combo = document.getElementById('mat-select');
selector = createSelect();
selector.parent(combo);
imageSpace = document.getElementById('image');
Expand Down
2 changes: 1 addition & 1 deletion pages/cylinder.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h3 class="back">Back to index</h3>
<caption>Material data</caption>
<tr>
<td class="index">Material</td>
<td class="value" id="combo">
<td class="value combo" id="mat-select" colspan="2">
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pages/elliptic-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h3 class="back">Back to index</h3>
<caption>Material data</caption>
<tr>
<td class="index">Material</td>
<td class="value" id="combo">
<td class="value combo" id="mat-select" colspan="2">
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pages/h-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h3 class="back">Back to index</h3>
<caption>Material data</caption>
<tr>
<td class="index">Material</td>
<td class="value" id="combo">
<td class="value combo" id="mat-select" colspan="2">
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pages/hexagonal-prism.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h3 class="back">Back to index</h3>
<caption>Material data</caption>
<tr>
<td class="index">Material</td>
<td class="value" id="combo">
<td class="value combo" id="mat-select" colspan="2">
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pages/hollow-cylinder.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h3 class="back">Back to index</h3>
<caption>Material data</caption>
<tr>
<td class="index">Material</td>
<td class="value" id="combo">
<td class="value combo" id="mat-select" colspan="2">
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pages/hollow-elliptic-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h3 class="back">Back to index</h3>
<caption>Material data</caption>
<tr>
<td class="index">Material</td>
<td class="value" id="combo">
<td class="value combo" id="mat-select" colspan="2">
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pages/hollow-rectangle-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h3 class="back">Back to index</h3>
<caption>Material data</caption>
<tr>
<td class="index">Material</td>
<td class="value" id="combo">
<td class="value combo" id="mat-select" colspan="2">
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pages/octagonal-prism.html
Original file line number Diff line number Diff line change
Expand Up @@ -43,7 +43,7 @@ <h3 class="back">Back to index</h3>
<caption>Material data</caption>
<tr>
<td class="index">Material</td>
<td class="value" id="combo">
<td class="value combo" id="mat-select" colspan="2">
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pages/rectangle-bar.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h3 class="back">Back to index</h3>
<caption>Material data</caption>
<tr>
<td class="index">Material</td>
<td class="value" id="combo">
<td class="value combo" id="mat-select" colspan="2">
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pages/t-profile.html
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ <h3 class="back">Back to index</h3>
<caption>Material data</caption>
<tr>
<td class="index">Material</td>
<td class="value" id="combo">
<td class="value combo" id="mat-select" colspan="2">
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pages/trapezius-prism.html
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@ <h3 class="back">Back to index</h3>
<caption>Material data</caption>
<tr>
<td class="index">Material</td>
<td class="value" id="combo">
<td class="value combo" id="mat-select" colspan="2">
</td>
</tr>
<tr>
Expand Down
2 changes: 1 addition & 1 deletion pages/triangular-prism.html
Original file line number Diff line number Diff line change
Expand Up @@ -49,7 +49,7 @@ <h3 class="back">Back to index</h3>
<caption>Material data</caption>
<tr>
<td class="index">Material</td>
<td class="value" id="combo">
<td class="value combo" id="mat-select" colspan="2">
</td>
</tr>
<tr>
Expand Down
8 changes: 7 additions & 1 deletion style.css
Original file line number Diff line number Diff line change
Expand Up @@ -256,6 +256,7 @@ img.back {
table {
float: left;
border-spacing: 0px;
margin-right: 20px;
}

caption {
Expand Down Expand Up @@ -296,7 +297,7 @@ td.value.results {
}

td.unit {
width: 80px;
width: 60px;
padding-left: 5px;
}

Expand All @@ -308,3 +309,8 @@ input, select {
font-family: Rockwell;
font-size: 14px;
}

.combo > select {
width: 160px;
text-align: left;
}

0 comments on commit ee7fa93

Please sign in to comment.