mirror of
https://github.com/toeverything/AFFiNE.git
synced 2026-02-26 10:45:57 +08:00
feat: modify style
This commit is contained in:
@@ -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" />
|
||||||
|
|||||||
@@ -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',
|
||||||
},
|
},
|
||||||
|
|||||||
Reference in New Issue
Block a user