mirror of
https://github.com/Lissy93/web-check.git
synced 2024-11-22 16:23:56 +01:00
Makes heading flex layout, with icon compatibility
This commit is contained in:
parent
73d7b56401
commit
7b2c27c0b1
@ -14,6 +14,13 @@ interface HeadingProps {
|
||||
const StyledHeading = styled.h1<HeadingProps>`
|
||||
margin: 0.5rem 0;
|
||||
text-shadow: 2px 2px 0px ${colors.bgShadowColor};
|
||||
display: flex;
|
||||
gap: 1rem;
|
||||
align-items: center;
|
||||
img {
|
||||
width: 2rem;
|
||||
border-radius: 4px;
|
||||
}
|
||||
${props => {
|
||||
switch (props.size) {
|
||||
case 'xSmall': return `font-size: ${TextSizes.small};`;
|
||||
|
Loading…
Reference in New Issue
Block a user