aboutsummaryrefslogtreecommitdiff
path: root/FrontEnd/src
diff options
context:
space:
mode:
authorcrupest <crupest@outlook.com>2021-05-06 17:03:19 +0800
committercrupest <crupest@outlook.com>2021-05-06 17:03:19 +0800
commit8bcbd541233f600872b89fbfe074b683030db923 (patch)
tree1dd33d7ed0852d1be6a3f0afca5e1b8ece14928d /FrontEnd/src
parentd1c4e693ee6b6d01307ec907c56489c88b1b4b9b (diff)
downloadtimeline-8bcbd541233f600872b89fbfe074b683030db923.tar.gz
timeline-8bcbd541233f600872b89fbfe074b683030db923.tar.bz2
timeline-8bcbd541233f600872b89fbfe074b683030db923.zip
...
Diffstat (limited to 'FrontEnd/src')
-rw-r--r--FrontEnd/src/app/views/timeline-common/TimelineMember.tsx19
1 files changed, 10 insertions, 9 deletions
diff --git a/FrontEnd/src/app/views/timeline-common/TimelineMember.tsx b/FrontEnd/src/app/views/timeline-common/TimelineMember.tsx
index 51512f15..299d6a53 100644
--- a/FrontEnd/src/app/views/timeline-common/TimelineMember.tsx
+++ b/FrontEnd/src/app/views/timeline-common/TimelineMember.tsx
@@ -31,15 +31,16 @@ const TimelineMemberItem: React.FC<{
</Row>
</Col>
{onAction ? (
- <Button
- className="align-self-center"
- variant={add ? "success" : "danger"}
- onClick={() => {
- onAction(user.username);
- }}
- >
- {t(`timeline.member.${add ? "add" : "remove"}`)}
- </Button>
+ <Col xs="auto">
+ <Button
+ variant={add ? "success" : "danger"}
+ onClick={() => {
+ onAction(user.username);
+ }}
+ >
+ {t(`timeline.member.${add ? "add" : "remove"}`)}
+ </Button>
+ </Col>
) : null}
</Row>
</ListGroup.Item>