Skip to content

Adds bootstrap stacked tables

  • Adds a stylus hash object of bootstrap breakpoints. [1] But CSS vars cannot be used in media queries, so values are hardcoded into the hash.
  • Adds an exception for the display: table; CSS rule when the table is stacked.

Example of misbehaving table is in Settings > CI / CD > Variables when the screen is smaller than bootstrap large. Because this table has a b-table-stacked-lg class everything in the table breaks into one small thin column.

[1] Bootstrap defines it's breakpoints as: --breakpoint-xs --breakpoint-sm --breakpoint-md --breakpoint-lg --breakpoint-xl

Edited by KartoffelCheetah

Merge request reports