-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
🚧 Responsive tables #934
🚧 Responsive tables #934
Conversation
bb96b7d
to
283d614
Compare
283d614
to
26f32e9
Compare
4dff253
to
fab5201
Compare
A couple of thoughts after coming back to this:
I think we should also run this by the accessibility team, since they pointed us towards this component originally. |
For reference here is the ONS version which looks like it triggers at the "small" breakpoint (500px) https://service-manual.ons.gov.uk/design-system/components/table/#example.example-table-responsive.html:~:text=Example%20Table%20Numeric-,Responsive%20table,-Setting%20%22variants%22%3A%20%27responsive |
f0c0091
to
623ffed
Compare
truncatewords_html
to truncate descriptions to 25 words on linked items that can be clicked on to display the full description. This was because keeping the amount of text in the description fields relatively consistent improved the look and feel in the table view.{{ table.description|markdown:3|truncatewords_html:25 }}