chore: smart view / tag hover style
This commit is contained in:
@@ -115,7 +115,7 @@ const SmartViewsListItem: FunctionComponent<Props> = ({ view, tagsState, setEdit
|
|||||||
<div
|
<div
|
||||||
role="button"
|
role="button"
|
||||||
tabIndex={FOCUSABLE_BUT_NOT_TABBABLE}
|
tabIndex={FOCUSABLE_BUT_NOT_TABBABLE}
|
||||||
className={classNames('tag px-3.5', isSelected && 'selected', isFaded && 'opacity-50')}
|
className={classNames('tag group px-3.5', isSelected && 'selected', isFaded && 'opacity-50')}
|
||||||
onClick={selectCurrentTag}
|
onClick={selectCurrentTag}
|
||||||
onContextMenu={(event) => {
|
onContextMenu={(event) => {
|
||||||
event.preventDefault()
|
event.preventDefault()
|
||||||
@@ -131,7 +131,7 @@ const SmartViewsListItem: FunctionComponent<Props> = ({ view, tagsState, setEdit
|
|||||||
>
|
>
|
||||||
<div className="tag-info">
|
<div className="tag-info">
|
||||||
<div className={'tag-icon mr-2'}>
|
<div className={'tag-icon mr-2'}>
|
||||||
<Icon type={view.iconString} className={iconClass} />
|
<Icon type={view.iconString} className={classNames(iconClass, 'group-hover:text-text')} />
|
||||||
</div>
|
</div>
|
||||||
{isEditing ? (
|
{isEditing ? (
|
||||||
<input
|
<input
|
||||||
|
|||||||
@@ -260,7 +260,7 @@ export const TagsListItem: FunctionComponent<Props> = observer(
|
|||||||
<div
|
<div
|
||||||
role="button"
|
role="button"
|
||||||
tabIndex={FOCUSABLE_BUT_NOT_TABBABLE}
|
tabIndex={FOCUSABLE_BUT_NOT_TABBABLE}
|
||||||
className={classNames('tag px-3.5', isSelected && 'selected', isBeingDraggedOver && 'is-drag-over')}
|
className={classNames('tag group px-3.5', isSelected && 'selected', isBeingDraggedOver && 'is-drag-over')}
|
||||||
onClick={selectCurrentTag}
|
onClick={selectCurrentTag}
|
||||||
ref={tagRef}
|
ref={tagRef}
|
||||||
style={{
|
style={{
|
||||||
@@ -282,7 +282,10 @@ export const TagsListItem: FunctionComponent<Props> = observer(
|
|||||||
<div onClick={selectCurrentTag} className={'tag-icon draggable mr-2'}>
|
<div onClick={selectCurrentTag} className={'tag-icon draggable mr-2'}>
|
||||||
<Icon
|
<Icon
|
||||||
type={tag.iconString as IconType}
|
type={tag.iconString as IconType}
|
||||||
className={`cursor-pointer ${isSelected ? 'text-info' : 'text-neutral'}`}
|
className={classNames(
|
||||||
|
'cursor-pointer group-hover:text-text',
|
||||||
|
isSelected ? 'text-info' : 'text-neutral',
|
||||||
|
)}
|
||||||
/>
|
/>
|
||||||
</div>
|
</div>
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user