forked from sombochea/verdaccio-ui
refactor: move cascaded CSS from templates to JS objects
This commit is contained in:
@@ -1,13 +1,13 @@
|
||||
import styled from 'react-emotion';
|
||||
|
||||
export const Wrapper = styled('span')`
|
||||
&& {
|
||||
vertical-align: middle;
|
||||
line-height: 22px;
|
||||
border-radius: 2px;
|
||||
color: #485a3e;
|
||||
background-color: #f3f4f2;
|
||||
padding: 0.22rem 0.4rem;
|
||||
margin: 8px 8px 0 0;
|
||||
}
|
||||
`;
|
||||
export const Wrapper = styled('span')({
|
||||
'&&': {
|
||||
verticalAlign: 'middle',
|
||||
lineHeight: '22px',
|
||||
borderRadius: '2px',
|
||||
color: '#485a3e',
|
||||
backgroundColor: '#f3f4f2',
|
||||
padding: '0.22rem 0.4rem',
|
||||
margin: '8px 8px 0 0',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user