mirror of
https://github.com/SomboChea/ui
synced 2026-01-19 17:46:12 +07:00
refactor: move cascaded CSS from templates to JS objects
This commit is contained in:
@@ -48,9 +48,9 @@ export const ImgWrapper: StyledOtherComponent<
|
||||
}
|
||||
`;
|
||||
|
||||
export const Img = styled('img')`
|
||||
&& {
|
||||
width: 100%;
|
||||
height: auto;
|
||||
}
|
||||
`;
|
||||
export const Img = styled('img')({
|
||||
'&&': {
|
||||
width: '100%',
|
||||
height: 'auto',
|
||||
},
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user