Submission table tweaks

smaller fontsize and use vertical scrolling for large tables
This commit is contained in:
bumi 2020-04-20 11:51:10 +02:00
parent b8277a7023
commit 7a7a2e49b7
2 changed files with 7 additions and 1 deletions

View File

@ -59,5 +59,11 @@ body {
}
.table-wrapper {
overflow: auto;
overflow-y: scroll;
box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
}
.submission-table tbody {
font-size: 0.75em;
}

View File

@ -27,7 +27,7 @@
</div>
<div class="box table-wrapper">
<table class="table is-fullwidth is-striped is-hoverable">
<table class="submission-table table is-fullwidth is-striped is-hoverable">
<thead>
<tr>
<% @form.spreadsheet_headers.each do |value| %>