<commit_before>import styled, { css } from 'styled-components';
import { isDLS } from '../../../utils/helpers/style-helper';
import baseTheme from '../../../style/themes/base';

const StyledEditorContainer = styled.div`
  ${({ theme, isFocused }) => css`
    min-height: 220px;
    min-width: 320px;
    
    div.DraftEditor-root {
      min-height: inherit;
      height: 100%;
      min-width: 290px;
      margin: 4px;
    }

    div.DraftEditor-editorContainer,
    div.public-DraftEditor-content {
      min-height: inherit;
      height: 100%;
      min-width: 290px;
      background-color: ${theme.colors.white};
      line-height: 21px;

      .text-editor-block-ordered {
        position: relative;
        left: -26px;
        top: -12px;
        bottom: 4px;
        padding-left: 8px;
      }

      .text-editor-block-unordered {
        position: relative;
        left: -22px;
        top: -12px;
        bottom: 4px;
        padding-left: 8px;
      }
    }

    div.public-DraftEditor-content {
      padding: 8px;
    }
  
  
    background-color: ${theme.colors.white};
    border: 1px solid ${theme.editor.border};
    ${isDLS(theme) && isFocused && `outline: 3px solid ${theme.colors.focus};`}
  `}
`;

StyledEditorContainer.defaultProps = {
  theme: baseTheme
};

export default StyledEditorContainer;<commit_msg>fix(text-editor): update styling for lists<commit_after>import styled, { css } from 'styled-components';
import { isDLS } from '../../../utils/helpers/style-helper';
import baseTheme from '../../../style/themes/base';

const StyledEditorContainer = styled.div`
  ${({ theme, isFocused }) => css`
    min-height: 220px;
    min-width: 320px;
    
    div.DraftEditor-root {
      min-height: inherit;
      height: 100%;
      min-width: 290px;
      margin: 4px;
    }

    div.DraftEditor-editorContainer,
    div.public-DraftEditor-content {
      min-height: inherit;
      height: 100%;
      min-width: 290px;
      background-color: ${theme.colors.white};
      line-height: 21px;

      .text-editor-block-ordered {
        position: relative;
        left: -4px;
        padding-left: 4px;
      }

      .text-editor-block-unordered {
        position: relative;
      }
    }

    div.public-DraftEditor-content {
      padding: 8px;
    }
  
    background-color: ${theme.colors.white};
    border: 1px solid ${theme.editor.border};
    ${isDLS(theme) && isFocused && `outline: 3px solid ${theme.colors.focus};`}
  `}
`;

StyledEditorContainer.defaultProps = {
  theme: baseTheme
};

export default StyledEditorContainer;
{'fraction_non_alphanumeric': 0.1448034254573764, 'fraction_numerical': 0.02413390424289607, 'mean_word_length': 2.350717079530639, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, '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': '3017950', 'n_tokens_mistral': 903, 'n_tokens_neox': 833, 'n_words': 165}