Skip to content

Commit

Permalink
padding fix; button hints
Browse files Browse the repository at this point in the history
  • Loading branch information
thomassth committed Oct 24, 2024
1 parent 44a859e commit 2fb4571
Showing 1 changed file with 10 additions and 7 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -23,9 +23,10 @@ class Comment extends React.Component {
<Card
sx={{
mb: [3],
p: [1],
width: '35em',
maxWidth: '100%',
boxShadow: this.props.currentItem ? 'lightseagreen 0px 0px 16px;' : ''
boxShadow: this.props.currentItem ? 'lightseagreen 0px 0px 0px 2px;' : ''
}}
className={this.props.currentItem ? 'current-item' : ''}>
<Box>
Expand All @@ -37,21 +38,23 @@ class Comment extends React.Component {
alignItems: 'center',
width: '100%'
}}>
<Box>
<Flex
sx={{
flexWrap: 'wrap',
gap: [2, 3]
}}>
{this.props.acceptButton ? (
<Button
sx={{ mr: [3] }}
onClick={this.onAcceptClicked.bind(this)}>
{this.props.acceptButtonText}
{this.props.acceptButtonText} (A)
</Button>
) : null}
{this.props.rejectButton ? (
<Button onClick={this.onRejectClicked.bind(this)}>
{this.props.rejectButtonText}
{this.props.rejectButtonText} (R)
</Button>
) : null}
</Box>
<Flex sx={{ alignItems: 'center' }}>
</Flex>
<Link
target="_blank"
sx={{ mr: [2] }}
Expand Down

0 comments on commit 2fb4571

Please sign in to comment.