remove fixed tables

This commit is contained in:
Simon Vieille 2021-04-21 10:21:54 +02:00
parent bedd1bc7e9
commit a2503c8891
4 changed files with 10 additions and 52 deletions

View File

@ -223,22 +223,15 @@ tr.table-primary-light {
}
}
table.table-fixed, .table-fixed > table {
thead {
tr {
th {
&.sorted {
&::before {
content: '\f0dc';
font-family: 'FontAwesome';
color: #aaa;
margin-right: 3px;
}
}
}
th {
&.sorted {
&::before {
content: '\f0dc';
font-family: 'FontAwesome';
color: #aaa;
margin-right: 3px;
}
}
}
.table-responsive {
@ -246,41 +239,6 @@ table.table-fixed, .table-fixed > table {
overflow-y: hidden;
}
@media screen and (min-height: 650px) {
table.table-fixed, .table-fixed > table {
width: 100%;
tbody {
overflow: auto;
width: 100%;
height: 500px;
}
thead, tbody, tr, td, th {
display: block;
}
tbody {
td, th {
float: left;
min-height: 60px;
}
tr {
clear: left;
}
}
thead {
tr {
th {
float: left;
}
}
}
}
}
.toast-container {
display: flex;
position: relative;

View File

@ -25,7 +25,7 @@
</div>
<div class="table-responsive">
<table class="table" data-table-fixed>
<table class="table">
<thead class="thead-light">
<tr>
<th class="col-5 miw-150">

View File

@ -14,7 +14,7 @@
</div>
<div class="table-responsive">
<table class="table" data-table-fixed>
<table class="table">
<thead class="thead-light">
<tr>
<th class="col-5">{{ 'Name'|trans }}</th>

View File

@ -23,7 +23,7 @@
</div>
<div class="table-responsive">
<table class="table" data-table-fixed>
<table class="table">
<thead class="thead-light">
<tr>
<th class="col-10 miw-200">{{ 'Username'|trans }}</th>