Skip to content

Commit

Permalink
Worksheets view panel fix
Browse files Browse the repository at this point in the history
  • Loading branch information
Lewis Nakao committed Jul 30, 2020
1 parent 7e178c0 commit ac5acdc
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ <h4>Features</h4>
</div>
</div>
<div id="worksheetView" style="display: none;">
<div class="row no-print" style="margin-top:-1rem;">
<div class="row no-print worksheets-view-panel">
<div class="col-3">
<button class="btn btn-secondary" onclick="HwGen.setWs('');">◀️ Back</button>
</div>
Expand Down
3 changes: 2 additions & 1 deletion src/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -50,13 +50,14 @@ tr.long > td > div.equation > .answer-input { width: 6rem; }
}
.answer-key-table { font-size: 16px; border: 1px solid gray; }
.answer-key { width: 5rem; display: inline-block; }
.worksheets-view-panel { margin-top: -1rem; }
@media print {
.no-print { display: none; }
body { margin: 0; font-size: 4px; }
}

@media (max-width: 500px) {
body { margin: .3rem; }
.worksheets-view-panel { margin-top: 0; }
}
@media (min-width: 500px) {
.my-img { width: 80%; }
Expand Down

0 comments on commit ac5acdc

Please sign in to comment.