fix spec table on smartphones
This commit is contained in:
parent
2c86bd428e
commit
a598f87ebb
3
static/css/benchmark.css
Normal file
3
static/css/benchmark.css
Normal file
@ -0,0 +1,3 @@
|
||||
.table-nowrap td, .table-nowrap th {
|
||||
white-space: nowrap;
|
||||
}
|
@ -1,5 +1,7 @@
|
||||
{{template "header.tmpl" .}}
|
||||
|
||||
<link rel="stylesheet" href="/static/css/benchmark.css">
|
||||
|
||||
<div class="d-flex justify-content-between align-items-center">
|
||||
<h2>Benchmark #{{ .benchmark.ID }}</h2>
|
||||
<div>
|
||||
@ -19,7 +21,8 @@
|
||||
<div class="row">
|
||||
<div class="col-12">
|
||||
<h5 class="text-center" style="font-size: 16px; font-weight: bold;">Specifications</h5>
|
||||
<table class="table table-sm table-bordered">
|
||||
<div class="table-responsive">
|
||||
<table class="table table-sm table-bordered table-nowrap">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col">Label</th>
|
||||
@ -44,6 +47,7 @@
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="fpsChart" style="height:250pt;"></div>
|
||||
|
Loading…
Reference in New Issue
Block a user