joyent-portal/packages/ui-toolkit/src/button/group.js

16 lines
334 B
JavaScript
Raw Normal View History

2018-03-19 19:31:13 +02:00
import styled from 'styled-components';
export default styled.span`
display: inline-block;
& [data-ui-button='true']:not(:first-child) {
border-top-left-radius: 0;
border-bottom-left-radius: 0;
}
& [data-ui-button='true']:not(:last-child) {
border-top-right-radius: 0;
border-bottom-right-radius: 0;
}
`;