feat(web): tailwind css (#1147)
This commit is contained in:
@@ -17,12 +17,12 @@ const EditingDisabledBanner: FunctionComponent<Props> = ({
|
||||
lockText,
|
||||
}) => {
|
||||
const background = showLockedIcon ? 'bg-warning-faded' : 'bg-info-faded'
|
||||
const iconColor = showLockedIcon ? 'color-accessory-tint-3' : 'color-accessory-tint-1'
|
||||
const textColor = showLockedIcon ? 'color-warning' : 'color-accessory-tint-1'
|
||||
const iconColor = showLockedIcon ? 'text-accessory-tint-3' : 'text-accessory-tint-1'
|
||||
const textColor = showLockedIcon ? 'text-warning' : 'text-accessory-tint-1'
|
||||
|
||||
return (
|
||||
<div
|
||||
className={`flex items-center relative ${background} px-3.5 py-2 cursor-pointer`}
|
||||
className={`flex items-center relative ${background} px-3.5 py-2 cursor-pointer text-sm`}
|
||||
onMouseLeave={onMouseLeave}
|
||||
onMouseOver={onMouseOver}
|
||||
onClick={onClick}
|
||||
|
||||
Reference in New Issue
Block a user