소스 검색

fix: delete operation style error (#485)

tags/0.3.7
Joel 2 년 전
부모
커밋
c6ab7eebd9
No account linked to committer's email address
2개의 변경된 파일6개의 추가작업 그리고 2개의 파일을 삭제
  1. 2
    2
      web/app/components/explore/item-operation/index.tsx
  2. 4
    0
      web/app/components/explore/item-operation/style.module.css

+ 2
- 2
web/app/components/explore/item-operation/index.tsx 파일 보기

</div> </div>
{isShowDelete && ( {isShowDelete && (
<div className={cn(s.actionItem, s.deleteActionItem, 'hover:bg-gray-50 group')} onClick={onDelete} > <div className={cn(s.actionItem, s.deleteActionItem, 'hover:bg-gray-50 group')} onClick={onDelete} >
<TrashIcon className={'shrink-0 w-4 h-4 stroke-current text-gray-500 stroke-2 group-hover:text-red-500'} />
<span className={cn(s.actionName, 'group-hover:text-red-500')}>{t('explore.sidebar.action.delete')}</span>
<TrashIcon className={cn(s.deleteActionItemChild, 'shrink-0 w-4 h-4 stroke-current text-gray-500 stroke-2')} />
<span className={cn(s.actionName, s.deleteActionItemChild)}>{t('explore.sidebar.action.delete')}</span>
</div> </div>
)} )}



+ 4
- 0
web/app/components/explore/item-operation/style.module.css 파일 보기

body .btn:hover { body .btn:hover {
/* background-image: ; */ /* background-image: ; */
background-color: #F2F4F7; background-color: #F2F4F7;
}

.deleteActionItem:hover .deleteActionItemChild {
@apply text-red-500;
} }

Loading…
취소
저장