Web: Settings: Appearance: fixed styles

This commit is contained in:
Nikita Gopienko 2023-09-07 13:12:10 +03:00
parent a54463404b
commit c53cdb4eec

View File

@ -80,27 +80,26 @@ const StyledComponent = styled.div`
: css`
margin-right: 8px;
`}
@media ${smallTablet} {
.button {
width: 100%;
}
}
${({ isShowDeleteButton }) =>
isShowDeleteButton &&
css`
@media ${smallTablet} {
flex-direction: column;
gap: 8px;
margin: 0;
.button:not(:last-child) {
margin-right: 0px;
}
}
`}
}
@media ${smallTablet} {
.button {
width: 100%;
}
}
${({ isShowDeleteButton }) =>
isShowDeleteButton &&
css`
@media ${smallTablet} {
flex-direction: column;
gap: 8px;
margin: 0;
.button:not(:last-child) {
margin-right: 0px;
}
}
`}
}
.check-img {