Skip to content
GitLab
Projects Groups Snippets
  • /
  • Help
    • Help
    • Support
    • Community forum
    • Submit feedback
    • Contribute to GitLab
  • Sign in / Register
  • B bootstrap
  • Project information
    • Project information
    • Activity
    • Labels
    • Members
  • Repository
    • Repository
    • Files
    • Commits
    • Branches
    • Tags
    • Contributors
    • Graph
    • Compare
  • Issues 263
    • Issues 263
    • List
    • Boards
    • Service Desk
    • Milestones
  • Merge requests 114
    • Merge requests 114
  • CI/CD
    • CI/CD
    • Pipelines
    • Jobs
    • Schedules
  • Deployments
    • Deployments
    • Environments
    • Releases
  • Packages and registries
    • Packages and registries
    • Package Registry
    • Infrastructure Registry
  • Monitor
    • Monitor
    • Incidents
  • Analytics
    • Analytics
    • Value stream
    • CI/CD
    • Repository
  • Wiki
    • Wiki
  • Snippets
    • Snippets
  • Activity
  • Graph
  • Create a new issue
  • Jobs
  • Commits
  • Issue Boards
Collapse sidebar
  • Bootstrap
  • bootstrap
  • Merge requests
  • !25058

Restore .table-responsive as a parent class

  • Review changes

  • Download
  • Email patches
  • Plain diff
Merged Mark Otto requested to merge table-responsive-parent into v4-dev Dec 23, 2017
  • Overview 0
  • Commits 1
  • Pipelines 0
  • Changes 2

This PR restores the original behavior of .table-responsive as a parent class, removing the ability to use it as a modifier class. This was primarily done to address a11y issues stemming from changing the display of a <table>—it interferes with screenreaders' ability to announce a table.

As a result, responsive tables will no longer be shrunk to their contents. This fixes #24638 (closed) (latest issue), fixes #24256 (closed), fixes #24462 (closed), fixes #24464 (closed). Something tells me y'all never liked that anyway though. 😬

I've tweaked a bit of the docs around this as well, adding a line here and there while also cleaning up the examples a smidge.

Assignee
Assign to
Reviewers
Request review from
Time tracking
Source branch: table-responsive-parent