mirror of
https://github.com/omnivore-app/omnivore.git
synced 2026-03-11 08:54:26 +00:00
Label sizing tweaks
This commit is contained in:
parent
2e16eab155
commit
00286244ce
1 changed files with 2 additions and 7 deletions
|
|
@ -45,16 +45,11 @@ export function LabelChip(props: LabelChipProps): JSX.Element {
|
|||
color: isDarkMode ? darkThemeTextColor : lightThemeTextColor,
|
||||
fontSize: '13px',
|
||||
fontWeight: '500',
|
||||
padding: '4px 8px 4px 8px',
|
||||
padding: '3px 6px',
|
||||
whiteSpace: 'nowrap',
|
||||
cursor: 'pointer',
|
||||
backgroundClip: 'padding-box',
|
||||
// border: isDarkMode
|
||||
// ? `1px solid ${darkThemeTextColor}`
|
||||
// : `1px solid rgba(${color[0]}, ${color[1]}, ${color[2]}, 0.7)`,
|
||||
backgroundColor: isDarkMode
|
||||
? `rgba(${color[0]}, ${color[1]}, ${color[2]}, 0.08)`
|
||||
: props.color,
|
||||
backgroundColor: props.color,
|
||||
}}
|
||||
>
|
||||
{props.text}
|
||||
|
|
|
|||
Loading…
Reference in a new issue