mirror of
https://github.com/urbit/shrub.git
synced 2024-11-30 22:15:47 +03:00
Merge branch 'la/note-opacity' into la/release-2021-03-04
This commit is contained in:
commit
55fc64d62c
@ -48,9 +48,14 @@ export function NotePreview(props: NotePreviewProps) {
|
||||
const snippet = getSnippet(body);
|
||||
|
||||
const commColor = (props.unreads.graph?.[appPath]?.[`/${noteId}`]?.unreads ?? 0) > 0 ? 'blue' : 'gray';
|
||||
|
||||
const cursorStyle = post.pending ? 'default' : 'pointer';
|
||||
|
||||
return (
|
||||
<Box width='100%'>
|
||||
<Link to={url}>
|
||||
<Box width='100%' opacity={post.pending ? '0.5' : '1'}>
|
||||
<Link
|
||||
to={post.pending ? '#' : url}
|
||||
style={ { cursor: cursorStyle } }>
|
||||
<Col
|
||||
lineHeight='tall'
|
||||
width='100%'
|
||||
|
Loading…
Reference in New Issue
Block a user