Skip to content

Commit a5a84aa

Browse files
committed
fix(tables): silence stylelint on .table-card cell selectors
The last-row border reset needs the same deep universal cell path as `.table`, plus a wrapper and optional responsive nest. That trips the compound, universal, and combinator limits.
1 parent ab08a94 commit a5a84aa

1 file changed

Lines changed: 5 additions & 1 deletion

File tree

scss/content/_tables.scss

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -194,11 +194,15 @@ $table-striped-columns-order: even !default;
194194
margin-bottom: 0;
195195
}
196196

197-
// Drop the last row border so it does not stack on the wrapper border
197+
// Drop the last row border so it does not stack on the wrapper border.
198+
// Same universal cell targeting as `.table`; wrapper + optional responsive
199+
// nest pushes compound/combinator counts over the defaults.
200+
// stylelint-disable selector-max-compound-selectors, selector-max-universal, selector-max-combinators
198201
> .table > :not(caption):last-child > *:last-child > *,
199202
> [class*="table-responsive"] > .table > :not(caption):last-child > *:last-child > * {
200203
border-block-end-width: 0;
201204
}
205+
// stylelint-enable selector-max-compound-selectors, selector-max-universal, selector-max-combinators
202206
}
203207

204208
// Responsive tables

0 commit comments

Comments
 (0)