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 { th {
thead { &.sorted {
tr { &::before {
th { content: '\f0dc';
&.sorted { font-family: 'FontAwesome';
&::before { color: #aaa;
content: '\f0dc'; margin-right: 3px;
font-family: 'FontAwesome';
color: #aaa;
margin-right: 3px;
}
}
}
} }
} }
} }
.table-responsive { .table-responsive {
@ -246,41 +239,6 @@ table.table-fixed, .table-fixed > table {
overflow-y: hidden; 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 { .toast-container {
display: flex; display: flex;
position: relative; position: relative;

View file

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

View file

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

View file

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