notifications: chat notifications reflow correctly

This commit is contained in:
Liam Fitzgerald 2020-12-08 10:07:50 +10:00
parent 12bfae630b
commit 8aea01e5c6
No known key found for this signature in database
GPG Key ID: D390E12C61D1CFFB
2 changed files with 2 additions and 2 deletions

View File

@ -195,7 +195,7 @@ const GraphNode = ({
return (
<Row onClick={onClick} gapX="2" pt="2">
<Col>{img}</Col>
<Col alignItems="flex-start">
<Col flexGrow={1} alignItems="flex-start">
<Row
mb="2"
height="16px"

View File

@ -92,7 +92,7 @@ function NotificationWrapper(props: {
const changeMuteDesc = isMuted ? "Unmute" : "Mute";
return (
<Row flexShrink={0} alignItems="top" justifyContent="space-between">
<Row width="100%" flexShrink={0} alignItems="top" justifyContent="space-between">
{children}
<Row gapX="2" p="2" pt='3' alignItems="top">
<StatelessAsyncAction name={changeMuteDesc} onClick={onChangeMute} backgroundColor="transparent">