<commit_before>@import "ui-variables";

atom-workspace {
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  color: @text-color;
  background-color: @app-background-color;
  font-family: @font-family;

  atom-workspace-axis {
    position: relative;
  }

  atom-workspace-axis.horizontal {
    display: flex;
    flex: 1;
    min-width: 0;
    min-height: 0;
  }

  atom-workspace-axis.vertical {
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
  }
}<commit_msg>performance: CSS containment for workspace (#21940)<commit_after>@import "ui-variables";
@import "utils";

atom-workspace {
  contain: @contain_all;
  display: flex;
  flex-direction: column;
  height: 100%;
  overflow: hidden;
  position: relative;
  color: @text-color;
  background-color: @app-background-color;
  font-family: @font-family;

  atom-workspace-axis {
    contain: @contain_except_layout_paint;
    position: relative;
  }

  atom-workspace-axis.horizontal {
    contain: @contain_except_layout_paint;
    display: flex;
    flex: 1;
    min-width: 0;
    min-height: 0;
  }

  atom-workspace-axis.vertical {
    contain: @contain_except_layout_paint;
    display: flex;
    flex: 1;
    flex-direction: column;
    min-width: 0;
    min-height: 0;
  }
}
{'fraction_non_alphanumeric': 0.13053263315828958, 'fraction_numerical': 0.0172543135783946, 'mean_word_length': 3.221518987341772, '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': '801703', 'n_tokens_mistral': 497, 'n_tokens_neox': 470, 'n_words': 99}