Skip to content

Commit c717239

Browse files
committed
DOC-13355 remove responsive table switch
This is clearly "intentional" but gives terrible results on many tables. For example the metrics lists in this ticket, though they're strictly already semi-abusing the table syntax to display a list of cards... It feels like we add a feature by: * removing it (suddenly, many basic tables work again, like the one in original ticket) * wait for writers/stakeholders to point out which tables need to be fixed with responsive CSS and deal at that point.
1 parent 25d9d45 commit c717239

File tree

1 file changed

+3
-1
lines changed

1 file changed

+3
-1
lines changed

src/css/table.css

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@ table.table-tutorial tr td:last-child {
153153

154154
/* Responsive css */
155155

156-
@media screen and (min-width: 768px) {
156+
@media screen and (min-width: 1px /*768px*/) {
157157
table.tableblock {
158158
display: table;
159159
position: relative;
@@ -212,6 +212,7 @@ table.table-tutorial tr td:last-child {
212212
}
213213
}
214214

215+
/* This "responsive" table CSS is a bit odd, I'm not sure it is needed any more:
215216
@media screen and (max-width: 767px), print {
216217
table.tableblock td,
217218
table.tableblock th {
@@ -242,3 +243,4 @@ table.table-tutorial tr td:last-child {
242243
max-width: 120px;
243244
}
244245
}
246+
*/

0 commit comments

Comments
 (0)