feat: modify style

This commit is contained in:
QiShaoXuan
2023-01-10 18:34:26 +08:00
parent 8f18048254
commit b2fe31dc02
2 changed files with 2 additions and 3 deletions

View File

@@ -51,7 +51,7 @@ const FavoriteTag = ({
style={{ style={{
color: favorite ? theme.colors.primaryColor : theme.colors.iconColor, color: favorite ? theme.colors.primaryColor : theme.colors.iconColor,
}} }}
className="favorite-button" className={favorite ? '' : 'favorite-button'}
> >
{favorite ? ( {favorite ? (
<FavouritedIcon data-testid="favourited-icon" /> <FavouritedIcon data-testid="favourited-icon" />

View File

@@ -9,7 +9,7 @@ export const StyledTable = styled.table<{ tableLayout: 'auto' | 'fixed' }>(
tableLayout, tableLayout,
width: '100%', width: '100%',
borderCollapse: 'separate', borderCollapse: 'separate',
borderSpacing: '0 25px', borderSpacing: '0',
}; };
} }
); );
@@ -52,7 +52,6 @@ export const StyledTableHead = styled.thead(() => {
export const StyledTableRow = styled.tr(({ theme }) => { export const StyledTableRow = styled.tr(({ theme }) => {
return { return {
marginBottom: '25px',
td: { td: {
transition: 'background .15s', transition: 'background .15s',
}, },