<commit_before>import styled from 'styled-components'

import {
  scale,
  theme
} from '../utilStyles'
import {StyledButton} from '../Button'

const StyledButtonGroup = styled.div`
  && {
  &&& > ${StyledButton} {

    :not(:first-child) {
            margin-left: 0;
     
         border-top-left-radius: 0;
      border-bottom-left-radius: 0;
      }
      
    :not(:last-child) {
        margin-right: 0;
        border-right: 0;
           border-top-right-radius: 0;
      border-bottom-right-radius: 0;
      }
      
      
  } 
  
    display: flex;
    flex-flow: row wrap;
    width: fit-content;
    margin-bottom: ${props => props.melt ? 0 : `-${scale.space(-1)(props)}`};

    a,
    button {
      margin-bottom: ${props => props.melt ? 0 : scale.space(-1)(props)};
    }

    border-radius: ${props => props.melt ? theme.radii('regular') : 0};
  }
  
 
`

export default StyledButtonGroup<commit_msg>refactor(tocco-ui): improve ButtonGroup styling<commit_after>import styled from 'styled-components'

import {StyledButton} from '../Button'

const StyledButtonGroup = styled.div`
  &&& > ${StyledButton} {
    :not(:first-child) {
        margin-left: -1px;
        border-top-left-radius: 0;
        border-bottom-left-radius: 0;
      }

    :not(:last-child) {
        margin-right: 0;
        border-right: 0;
        border-top-right-radius: 0;
        border-bottom-right-radius: 0;
      }
  }
`

export default StyledButtonGroup
{'fraction_non_alphanumeric': 0.15278733654507914, 'fraction_numerical': 0.01307639366827254, 'mean_word_length': 2.2455357142857144, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 8, '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': '6956540', 'n_tokens_mistral': 521, 'n_tokens_neox': 489, 'n_words': 93}