<commit_before>// As <body> is fixed to a max-width to 150ex this @media corrseponds
// to screens larger than "m.scss", but without margins on sides of the body.
// This media file should be used only for the chat_n_edit layout which has a
// toolpanel on right which needs to adjust manually <body> position.
@media screen and (min-width: 48em) and (max-width: $BODY_MAX_WIDTH), handheld {
  body.chat_n_edit {
    #site {
      padding-top: 0;
      background: linear-gradient(to right, #e7e3e0, #bdb3aa 50%);
    }
    #redaction {
      margin: 0;
      &[data-popup-toolpanel-shown] {
        max-width: $BODY_MAX_WIDTH_WITH_TOOLPANEL;
      }
    }
  }
}
<commit_msg>redaction: fix CSS rules for large screens (don't set min-width and adjust toolbar position when panel is not shown)<commit_after>// As <body> is fixed to a max-width to 150ex this @media corrseponds
// to screens larger than "m.scss", but without margins on sides of the body.
// This media file should be used only for the chat_n_edit layout which has a
// toolpanel on right which needs to adjust manually <body> position.
@media screen and (max-width: $BODY_MAX_WIDTH), handheld {
  body.chat_n_edit {
    #site {
      padding-top: 0;
      background: linear-gradient(to right, #e7e3e0, #bdb3aa 50%);
    }
    #toolbar:not([data-popup-toolpanel-shown]) {
      right: 20px;
    }
  }
  #redaction {
    margin: 0;
    &[data-popup-toolpanel-shown] {
      max-width: $BODY_MAX_WIDTH_WITH_TOOLPANEL;
    }
  }
}

{'fraction_non_alphanumeric': 0.1058271935699933, 'fraction_numerical': 0.017414601473543203, 'mean_word_length': 3.15, 'pattern_counts': {'":': 0, '<': 7, '<?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': '5094575', 'n_tokens_mistral': 537, 'n_tokens_neox': 496, 'n_words': 168}