Merge pull request #4466 from urbit/mp/landscape/safari-flex-shrink

landscape: prevent  settings collapse on safari
This commit is contained in:
matildepark 2021-02-22 14:38:18 -05:00 committed by GitHub
commit a624519f62
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -88,7 +88,7 @@ export function ChannelPopoverRoutes(props: ChannelPopoverRoutesProps) {
<Col height="100%" overflowY="auto" p="5" flexGrow={1}> <Col height="100%" overflowY="auto" p="5" flexGrow={1}>
<ChannelNotifications {...props} /> <ChannelNotifications {...props} />
{!isOwner && ( {!isOwner && (
<Col mb="6"> <Col mb="6" flexShrink={0}>
<Text id="unsubscribe" fontSize="2" fontWeight="bold"> <Text id="unsubscribe" fontSize="2" fontWeight="bold">
Unsubscribe from Channel Unsubscribe from Channel
</Text> </Text>
@ -126,7 +126,7 @@ export function ChannelPopoverRoutes(props: ChannelPopoverRoutesProps) {
</Col> </Col>
) : ( ) : (
<Col mt="5" mb="6"> <Col mt="5" mb="6" flexShrink={0}>
<Text id="remove" fontSize="2" fontWeight="bold"> <Text id="remove" fontSize="2" fontWeight="bold">
Remove channel from group Remove channel from group
</Text> </Text>