File tree Expand file tree Collapse file tree 1 file changed +14
-6
lines changed
src/ui/apps/reader/MainPanel/List Expand file tree Collapse file tree 1 file changed +14
-6
lines changed Original file line number Diff line number Diff line change 4
4
mergeClasses ,
5
5
tokens ,
6
6
Checkbox ,
7
+ Tooltip ,
7
8
} from '@fluentui/react-components'
8
9
import type { CheckboxProps } from '@fluentui/react-components'
9
10
import { observer } from 'mobx-react-lite'
@@ -99,13 +100,20 @@ function Item({ article }: Props) {
99
100
className = "h-auto w-auto"
100
101
/>
101
102
</ div >
102
- < div
103
- className = "basis-[168px] max-w-[168px] pr-8 whitespace-nowrap overflow-hidden cursor-pointer"
104
- role = "button"
105
- onClick = { open }
103
+ < Tooltip
104
+ content = { feed ?. title ! }
105
+ relationship = "description"
106
+ positioning = "below"
107
+ appearance = "inverted"
106
108
>
107
- { feed ?. title }
108
- </ div >
109
+ < div
110
+ className = "basis-[168px] max-w-[168px] pr-8 whitespace-nowrap overflow-hidden text-ellipsis cursor-pointer"
111
+ role = "button"
112
+ onClick = { open }
113
+ >
114
+ { feed ?. title }
115
+ </ div >
116
+ </ Tooltip >
109
117
< div className = "flex-1 flex items-center overflow-hidden" >
110
118
< div
111
119
className = "mr-auto overflow-hidden text-ellipsis whitespace-nowrap cursor-pointer"
You can’t perform that action at this time.
0 commit comments