<commit_before>@use '../../material/core/style/vendor-prefixes';
@import '@material/data-table/mixins.import';
@import '../mdc-helpers/mdc-helpers';
@import '../../material/table/table-flex-styles';

@include mdc-data-table-core-styles($query: $mat-base-styles-without-animation-query);
@include mat-private-table-flex-styles();

.mat-mdc-table-sticky {
  // Note that the table can either set this class or an inline style to make something sticky.
  // We set the style as `!important` so that we get an identical specificity in both cases
  // and to avoid cases where user styles have a higher specificity.
  @include vendor-prefixes.position-sticky($important: true);
}

// MDC Table applies `table-layout: fixed`, but this is a backwards incompatible
// change since the table did not previously apply it.
// TODO: Add a mixin to MDC to set the layout instead of including this override,
// see this issue: https://github.com/material-components/material-components-web/issues/6412
.mdc-data-table__table {
  table-layout: auto;
}<commit_msg>fix(material-experimental/mdc-table): remove bottom border for flex table (#21566)<commit_after>@use '../../material/core/style/vendor-prefixes';
@import '@material/data-table/mixins.import';
@import '../mdc-helpers/mdc-helpers';
@import '../../material/table/table-flex-styles';

@include mdc-data-table-core-styles($query: $mat-base-styles-without-animation-query);
@include mat-private-table-flex-styles();

.mat-mdc-table-sticky {
  // Note that the table can either set this class or an inline style to make something sticky.
  // We set the style as `!important` so that we get an identical specificity in both cases
  // and to avoid cases where user styles have a higher specificity.
  @include vendor-prefixes.position-sticky($important: true);
}

// MDC Table applies `table-layout: fixed`, but this is a backwards incompatible
// change since the table did not previously apply it.
// TODO: Add a mixin to MDC to set the layout instead of including this override,
// see this issue: https://github.com/material-components/material-components-web/issues/6412
.mdc-data-table__table {
  table-layout: auto;
}

// MDC table rows are styled with a top border, whereas our legacy flex table styles rows with
// a bottom border. Remove the bottom border style from the rows and let MDC display its top
// border.
mat-row.mat-mdc-row, mat-header-row.mat-mdc-header-row, mat-footer-row.mat-mdc-footer-row {
  border-bottom: none;
}
{'fraction_non_alphanumeric': 0.12610797743755037, 'fraction_numerical': 0.005237711522965351, 'mean_word_length': 3.966, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 2, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '970065', 'n_tokens_mistral': 733, 'n_tokens_neox': 723, 'n_words': 253}