mirror of
https://github.com/strapi/strapi.git
synced 2025-08-10 17:58:07 +00:00
SelectOne: Update draft/ publish colors, fix skewed bullet
This commit is contained in:
parent
06694ec71d
commit
ad4c285d37
@ -12,10 +12,12 @@ import isEmpty from 'lodash/isEmpty';
|
|||||||
import { getTrad } from '../../utils';
|
import { getTrad } from '../../utils';
|
||||||
|
|
||||||
const StyledBullet = styled.div`
|
const StyledBullet = styled.div`
|
||||||
|
flex-shrink: 0;
|
||||||
width: ${pxToRem(6)};
|
width: ${pxToRem(6)};
|
||||||
height: ${pxToRem(6)};
|
height: ${pxToRem(6)};
|
||||||
margin-right: ${({ theme }) => theme.spaces[2]};
|
margin-right: ${({ theme }) => theme.spaces[2]};
|
||||||
background: ${({ theme, isDraft }) => theme.colors[isDraft ? 'secondary700' : 'success200']};
|
background-color: ${({ theme, isDraft }) =>
|
||||||
|
theme.colors[isDraft ? 'secondary600' : 'success600']};
|
||||||
border-radius: 50%;
|
border-radius: 50%;
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
`;
|
`;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user