pushing things to the side

This commit is contained in:
ingawei 2022-10-06 23:57:41 -07:00
parent 1b1634ce8b
commit e5af7bf76f
3 changed files with 16 additions and 3 deletions

View File

@ -25,6 +25,9 @@ import { useAdmin } from 'web/hooks/use-admin'
import { needsAdminToResolve } from 'web/pages/[username]/[contractSlug]' import { needsAdminToResolve } from 'web/pages/[username]/[contractSlug]'
import { CATEGORY_COLORS } from '../charts/contract/choice' import { CATEGORY_COLORS } from '../charts/contract/choice'
import { useChartAnswers } from '../charts/contract/choice' import { useChartAnswers } from '../charts/contract/choice'
import { ChatAlt2Icon, ChatAltIcon } from '@heroicons/react/solid'
import { ChatIcon } from '@heroicons/react/outline'
import { ReplyTo } from '../feed/feed-comments'
export function AnswersPanel(props: { export function AnswersPanel(props: {
contract: FreeResponseContract | MultipleChoiceContract contract: FreeResponseContract | MultipleChoiceContract
@ -236,6 +239,16 @@ function OpenAnswer(props: {
BUY BUY
</Button> </Button>
)} )}
{
<button
className="p-1"
// onClick={() =>
// //TODO: make replies
// }
>
<ChatIcon className="text-greyscale-4 h-5 w-5" />
</button>
}
</Row> </Row>
</Row> </Row>
<hr <hr

View File

@ -181,7 +181,7 @@ const CommentsTabContent = memo(function CommentsTabContent(props: {
</Row> </Row>
<Row> <Row>
<div className="ml-1"> <div className="ml-1">
<Curve size={28} strokeWidth={1} color="#B1B1C7" /> <Curve size={28} strokeWidth={1} color="#D8D8EB" />
</div> </div>
<div className="w-full pt-1"> <div className="w-full pt-1">
<FeedCommentThread <FeedCommentThread

View File

@ -185,7 +185,7 @@ export function FeedComment(props: {
ref={commentRef} ref={commentRef}
id={comment.id} id={comment.id}
className={clsx( className={clsx(
'hover:bg-greyscale-1 ml-8 gap-2 transition-colors', 'hover:bg-greyscale-1 ml-10 gap-2 transition-colors',
highlighted ? `-m-1.5 rounded bg-indigo-500/[0.2] p-1.5` : '' highlighted ? `-m-1.5 rounded bg-indigo-500/[0.2] p-1.5` : ''
)} )}
onMouseOver={() => setShowActions(true)} onMouseOver={() => setShowActions(true)}
@ -194,7 +194,7 @@ export function FeedComment(props: {
<Col className="-ml-3"> <Col className="-ml-3">
<Avatar size="xs" username={userUsername} avatarUrl={userAvatarUrl} /> <Avatar size="xs" username={userUsername} avatarUrl={userAvatarUrl} />
<span <span
className="bg-greyscale-4 mx-auto h-full w-[1.5px]" className="bg-greyscale-3 mx-auto h-full w-[1.5px]"
aria-hidden="true" aria-hidden="true"
/> />
</Col> </Col>