Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
In Views, it's possible to set a responsive priority on tables, but Radix has no CSS to handle these.
Here's what Bartik has:
/**
* Responsive tables.
*/
@media screen and (max-width: 37.5em) { /* 600px */
th.priority-low,
td.priority-low,
th.priority-medium,
td.priority-medium {
display: none;
}
}
@media screen and (max-width: 60em) { /* 920px */
th.priority-low,
td.priority-low {
display: none;
}
}
Radix should do something similar, but using Bootstrap breakpoints!
Comments
Comment #2
dsnopekI used this code in a custom sub-theme - not sure if it's the way I want it yet, it needs some more testing in practice:
It's also not "mobile first", but I'm not sure if that's disqualifying?