Skip to content

Commit 24c62c5

Browse files
tmorehousejacobmllr95
authored andcommitted
fix(table): disable sticky header max-height on printers (#4147)
* fix(table): disable sticky header max-height on printers * Update _table.scss
1 parent 51c3999 commit 24c62c5

File tree

1 file changed

+9
-0
lines changed

1 file changed

+9
-0
lines changed

src/components/table/_table.scss

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -112,6 +112,15 @@
112112
max-height: $b-table-sticky-header-max-height;
113113
}
114114

115+
@media print {
116+
// Overide any styles (including inline styles)
117+
// when printing
118+
.b-table-sticky-header {
119+
overflow-y: visible !important;
120+
max-height: none !important;
121+
}
122+
}
123+
115124
@supports (position: sticky) {
116125
// Positioning of sticky headers
117126
.b-table-sticky-header > .table.b-table > thead > tr > th {

0 commit comments

Comments
 (0)