<commit_before>@import '../core/style/variables';

$mat-horizontal-stepper-header-height: 72px !default;
$mat-stepper-label-header-height: 24px !default;
$mat-stepper-side-gap: 24px !default;
$mat-vertical-stepper-content-margin: 36px !default;
$mat-stepper-line-width: 1px !default;
$mat-stepper-line-gap: 8px !default;

.mat-stepper-vertical,
.mat-stepper-horizontal {
  display: block;
}

.mat-horizontal-stepper-header-container {
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.mat-stepper-horizontal-line {
  border-top-width: $mat-stepper-line-width;
  border-top-style: solid;
  flex: auto;
  height: 0;
  margin: 0 $mat-stepper-line-gap - $mat-stepper-side-gap;
  min-width: $mat-stepper-line-gap + $mat-stepper-side-gap;
}

.mat-horizontal-stepper-header {
  display: flex;
  height: $mat-horizontal-stepper-header-height;
  overflow: hidden;
  align-items: center;
  padding: 0 $mat-stepper-side-gap;

  .mat-step-icon,
  .mat-step-icon-not-touched {
    margin-right: $mat-stepper-line-gap;
    flex: none;

    [dir='rtl'] & {
      margin-right: 0;
      margin-left: $mat-stepper-line-gap;
    }
  }
}

.mat-vertical-stepper-header {
  display: flex;
  align-items: center;
  padding: $mat-stepper-side-gap;
  max-height: $mat-stepper-label-header-height;

  .mat-step-icon,
  .mat-step-icon-not-touched {
    margin-right: $mat-vertical-stepper-content-margin - $mat-stepper-side-gap;

    [dir='rtl'] & {
      margin-right: 0;
      margin-left: $mat-vertical-stepper-content-margin - $mat-stepper-side-gap;
    }
  }
}

.mat-horizontal-stepper-content {
  overflow: hidden;

  &[aria-expanded='false'] {
    height: 0;
  }
}

.mat-horizontal-content-container {
  overflow: hidden;
  padding: 0 $mat-stepper-side-gap $mat-stepper-side-gap $mat-stepper-side-gap;
}

.mat-vertical-content-container {
  margin-left: $mat-vertical-stepper-content-margin;
  border: 0;
  position: relative;

  [dir='rtl'] & {
    margin-left: 0;
    margin-right: $mat-vertical-stepper-content-margin;
  }
}

.mat-stepper-vertical-line::before {
  content: '';
  position: absolute;
  top: $mat-stepper-line-gap - $mat-stepper-side-gap;<commit_msg>fix(stepper): horizontal stepper cutting off bottom part of content (#10644)<commit_after>@import '../core/style/variables';

$mat-horizontal-stepper-header-height: 72px !default;
$mat-stepper-label-header-height: 24px !default;
$mat-stepper-side-gap: 24px !default;
$mat-vertical-stepper-content-margin: 36px !default;
$mat-stepper-line-width: 1px !default;
$mat-stepper-line-gap: 8px !default;

.mat-stepper-vertical,
.mat-stepper-horizontal {
  display: block;
}

.mat-horizontal-stepper-header-container {
  white-space: nowrap;
  display: flex;
  align-items: center;
}

.mat-stepper-horizontal-line {
  border-top-width: $mat-stepper-line-width;
  border-top-style: solid;
  flex: auto;
  height: 0;
  margin: 0 $mat-stepper-line-gap - $mat-stepper-side-gap;
  min-width: $mat-stepper-line-gap + $mat-stepper-side-gap;
}

.mat-horizontal-stepper-header {
  display: flex;
  height: $mat-horizontal-stepper-header-height;
  overflow: hidden;
  align-items: center;
  padding: 0 $mat-stepper-side-gap;

  .mat-step-icon,
  .mat-step-icon-not-touched {
    margin-right: $mat-stepper-line-gap;
    flex: none;

    [dir='rtl'] & {
      margin-right: 0;
      margin-left: $mat-stepper-line-gap;
    }
  }
}

.mat-vertical-stepper-header {
  display: flex;
  align-items: center;
  padding: $mat-stepper-side-gap;
  max-height: $mat-stepper-label-header-height;

  .mat-step-icon,
  .mat-step-icon-not-touched {
    margin-right: $mat-vertical-stepper-content-margin - $mat-stepper-side-gap;

    [dir='rtl'] & {
      margin-right: 0;
      margin-left: $mat-vertical-stepper-content-margin - $mat-stepper-side-gap;
    }
  }
}

.mat-horizontal-stepper-content[aria-expanded='false'] {
  height: 0;
  overflow: hidden;
}

.mat-horizontal-content-container {
  overflow: hidden;
  padding: 0 $mat-stepper-side-gap $mat-stepper-side-gap $mat-stepper-side-gap;
}

.mat-vertical-content-container {
  margin-left: $mat-vertical-stepper-content-margin;
  border: 0;
  position: relative;

  [dir='rtl'] & {
    margin-left: 0;
    margin-right: $mat-vertical-stepper-content-margin;
  }
}

.mat-stepper-vertical-line::before {
  content: '';
  position: absolute;
  top: $mat-stepper-line-gap - $mat-stepper-side-gap;
{'fraction_non_alphanumeric': 0.16818804198995893, 'fraction_numerical': 0.009812870835235053, 'mean_word_length': 3.445233265720081, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, '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': '6585707', 'n_tokens_mistral': 1756, 'n_tokens_neox': 1658, 'n_words': 253}