<commit_before>.md-dialog-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: $z-index-dialog;
}

md-dialog {
  &.transition-in {
    opacity: 1;
    transition: $swift-ease-out;
    transform: translate3d(0,0,0) scale(1.0);
  }
  &.transition-out {
    transition: $swift-ease-out;
    transform: translate3d(0,100%,0) scale(0.2);
  }

  opacity: 0;
  min-width: 240px;
  max-width: 80%;
  max-height: 80%;
  position: relative;
  overflow: hidden; // stop content from leaking out of dialog parent

  box-shadow: $whiteframe-shadow-z5;

  display: flex;
  flex-direction: column;

  md-content {
    order: 1;
    padding: 24px;
    overflow: auto;
    -webkit-overflow-scrolling: touch;

    &:not([layout=row]) > *:first-child:not(.md-subheader) {
      margin-top: 0;
    }

    &:focus {
      outline: none;
    }
  }

  .md-actions {
    display: flex;
    order: 2;
    box-sizing: border-box;
    align-items: center;
    justify-content: flex-end;
    padding: 16px 16px;
    min-height: $baseline-grid * 5;

    > * {
      margin-left: 8px;
      margin-right: 0;
    }
  }
  &.md-content-overflow .md-actions {
    border-top: 1px solid;
  }

}

@media screen and (-ms-high-contrast: active) {
  md-dialog {
    border: 1px solid #fff;
  }
}<commit_msg>fix(dialog): action spacing matches spec<commit_after>.md-dialog-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: $z-index-dialog;
}

md-dialog {
  &.transition-in {
    opacity: 1;
    transition: $swift-ease-out;
    transform: translate3d(0,0,0) scale(1.0);
  }
  &.transition-out {
    transition: $swift-ease-out;
    transform: translate3d(0,100%,0) scale(0.2);
  }

  opacity: 0;
  min-width: 240px;
  max-width: 80%;
  max-height: 80%;
  position: relative;
  overflow: hidden; // stop content from leaking out of dialog parent

  box-shadow: $whiteframe-shadow-z5;

  display: flex;
  flex-direction: column;

  md-content {
    order: 1;
    padding: $baseline-grid * 3;
    overflow: auto;
    -webkit-overflow-scrolling: touch;

    &:not([layout=row]) > *:first-child:not(.md-subheader) {
      margin-top: 0;
    }

    &:focus {
      outline: none;
    }
  }

  .md-actions {
    display: flex;
    order: 2;
    box-sizing: border-box;
    align-items: center;
    justify-content: flex-end;
    padding: $baseline-grid;
    padding-left: $baseline-grid * 3;
    min-height: $baseline-grid * 5;

    > * {
      margin-left: $baseline-grid / 2;
      margin-right: 0;
    }
  }
  &.md-content-overflow .md-actions {
    border-top: 1px solid;
  }

}

@media screen and (-ms-high-contrast: active) {
  md-dialog {
    border: 1px solid #fff;
  }
}
{'fraction_non_alphanumeric': 0.1543577178858943, 'fraction_numerical': 0.03080154007700385, 'mean_word_length': 2.581453634085213, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 7, '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': '6254630', 'n_tokens_mistral': 1158, 'n_tokens_neox': 1065, 'n_words': 232}