fix: remove all:initial rule from all div based ui compoennts
This commit is contained in:
@@ -42,7 +42,6 @@ export const Container =
|
||||
ContainerProps >
|
||||
`
|
||||
&& {
|
||||
all: initial;
|
||||
box-sizing: border-box;
|
||||
${props => cssRuleIfExists(props, 'flex-grow')}
|
||||
${props => cssRuleIfExists(props, 'position')}
|
||||
|
@@ -19,7 +19,6 @@ export const Flex =
|
||||
FlexProps >
|
||||
`
|
||||
&& {
|
||||
all: initial;
|
||||
display: ${props => (props.inline ? 'inline-flex' : 'flex')};
|
||||
flex-direction: ${props => props.direction};
|
||||
flex-wrap: ${props => props.flexWrap};
|
||||
|
@@ -28,7 +28,6 @@ export const Text =
|
||||
TextProps >
|
||||
`
|
||||
&& {
|
||||
all: initial;
|
||||
font-family: 'Inter UI', sans-serif;
|
||||
font-style: ${props => props.fontStyle};
|
||||
font-weight: ${props => props.fontWeight};
|
||||
|
Reference in New Issue
Block a user