refactor(dev-only): fixed link item bubble bg color and text
This commit is contained in:
@@ -238,9 +238,9 @@ const FilesTableView = ({ application, filesController, featuresController, link
|
||||
}
|
||||
|
||||
return (
|
||||
<div className="flex items-center gap-2">
|
||||
<div className="flex items-center gap-2 overflow-hidden">
|
||||
<LinkedItemBubble
|
||||
className="overflow-hidden"
|
||||
className="overflow-hidden border border-transparent hover:border-border focus:border-info focus:shadow-none"
|
||||
link={links[0]}
|
||||
key={links[0].id}
|
||||
unlinkItem={async (itemToUnlink) => {
|
||||
@@ -248,7 +248,7 @@ const FilesTableView = ({ application, filesController, featuresController, link
|
||||
}}
|
||||
isBidirectional={false}
|
||||
/>
|
||||
{links.length > 1 && <span>and {links.length - 1} more...</span>}
|
||||
{links.length - 1 > 1 && <span>and {links.length - 1} more...</span>}
|
||||
</div>
|
||||
)
|
||||
},
|
||||
|
||||
@@ -100,7 +100,7 @@ const LinkedItemBubble = ({
|
||||
<button
|
||||
ref={ref}
|
||||
className={classNames(
|
||||
'group h-6 cursor-pointer items-center rounded border-0 bg-passive-4-opacity-variant py-2 pl-1 pr-2 text-sm',
|
||||
'group h-6 cursor-pointer items-center rounded bg-passive-4-opacity-variant py-2 pl-1 pr-2 text-sm',
|
||||
'text-text hover:bg-contrast focus:bg-contrast lg:text-xs',
|
||||
inlineFlex ? 'inline-flex' : 'flex',
|
||||
className,
|
||||
|
||||
Reference in New Issue
Block a user