Commit 8b24cedc authored by Nikolay Gromov's avatar Nikolay Gromov

Исправил Адаптивные таблицы со сменой строк на колонки

parent 08d73916
...@@ -3,6 +3,8 @@ ...@@ -3,6 +3,8 @@
.table-responsive-rotate { .table-responsive-rotate {
@media (max-width: (@screen-md - 1)) {
&--thead-fix { &--thead-fix {
position: relative; position: relative;
padding-left: 12rem; padding-left: 12rem;
...@@ -20,4 +22,5 @@ ...@@ -20,4 +22,5 @@
left: 0; left: 0;
} }
} }
}
} }
...@@ -2,6 +2,8 @@ ...@@ -2,6 +2,8 @@
.table-responsive-rotate { .table-responsive-rotate {
@media (max-width: (@screen-md - 1)) {
display: block; display: block;
width: 100%; width: 100%;
overflow-x: auto; overflow-x: auto;
...@@ -39,7 +41,17 @@ ...@@ -39,7 +41,17 @@
} }
} }
tfoot {
tr:last-child {
th,
td {
border-right: 0;
}
}
}
caption { caption {
display: none; display: none;
} }
}
} }
...@@ -1163,7 +1163,7 @@ ...@@ -1163,7 +1163,7 @@
<p>Для просмотра адаптации таблицы сделайте вьюпорт узким.</p> <p>Для просмотра адаптации таблицы сделайте вьюпорт узким.</p>
<p class="alert alert--danger"><strong>ВНИМАНИЕ!</strong> Контент в ячейках таблицы жёстко фиксируется как однострочный (нет зависимости развёрнутых ячеек).</p> <p class="alert alert--danger"><strong>ВНИМАНИЕ!</strong> При перестройке контент в ячейках таблицы жёстко фиксируется как однострочный (нет зависимости развёрнутых ячеек).</p>
<p class="alert alert--danger"><strong>ВНИМАНИЕ!</strong> Ячейки не должны объединяться. <code>caption</code> скрывается.</p> <p class="alert alert--danger"><strong>ВНИМАНИЕ!</strong> Ячейки не должны объединяться. <code>caption</code> скрывается.</p>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment