mirror of
https://github.com/ilyakooo0/urbit.git
synced 2024-11-13 08:38:43 +03:00
interface: fix flex-shrink, grow typings
This commit is contained in:
parent
72b1650635
commit
a7afaf065d
@ -115,8 +115,8 @@ export function ChipInput(props: ChipInputProps): ReactElement {
|
||||
<Input
|
||||
width="auto"
|
||||
height="24px"
|
||||
flexShrink="1"
|
||||
flexGrow="1"
|
||||
flexShrink={1}
|
||||
flexGrow={1}
|
||||
pl="0"
|
||||
ref={inputRef}
|
||||
onChange={onChange}
|
||||
|
@ -29,9 +29,9 @@ export function GroupSummary(props: GroupSummaryProps & PropFunc<typeof Col>): R
|
||||
width="40px"
|
||||
height="40px"
|
||||
metadata={metadata}
|
||||
flexShrink="0"
|
||||
flexShrink={0}
|
||||
/>
|
||||
<Col justifyContent="space-between" flexGrow="1" overflow="hidden">
|
||||
<Col justifyContent="space-between" flexGrow={1} overflow="hidden">
|
||||
<Text
|
||||
fontSize="1"
|
||||
textOverflow="ellipsis"
|
||||
|
@ -69,7 +69,7 @@ export function GroupifyForm(props: GroupifyFormProps) {
|
||||
onSubmit={onGroupify}
|
||||
>
|
||||
<Form>
|
||||
<Col flexShrink="0" gapY="4" maxWidth="512px">
|
||||
<Col flexShrink={0} gapY="4" maxWidth="512px">
|
||||
<Box>
|
||||
<Text fontWeight="500">Groupify this channel</Text>
|
||||
</Box>
|
||||
|
@ -177,7 +177,7 @@ export function JoinGroup(props: JoinGroupProps): ReactElement {
|
||||
<Text gray fontSize="1">
|
||||
Channels
|
||||
</Text>
|
||||
<Box width="100%" flexShrink="0">
|
||||
<Box width="100%" flexShrink={0}>
|
||||
{Object.values(preview.channels).map(({ metadata }: any) => (
|
||||
<Row width="100%">
|
||||
<Icon
|
||||
|
@ -181,9 +181,9 @@ export function Participants(props: {
|
||||
mb={2}
|
||||
px={2}
|
||||
zIndex={1}
|
||||
flexShrink="0"
|
||||
flexShrink={0}
|
||||
>
|
||||
<Row mr="4" flexShrink="0">
|
||||
<Row mr="4" flexShrink={0}>
|
||||
<Tab
|
||||
selected={filter}
|
||||
setSelected={setFilter}
|
||||
@ -206,7 +206,7 @@ export function Participants(props: {
|
||||
/>
|
||||
</Row>
|
||||
</Row>
|
||||
<Col flexShrink="0" width="100%" height="fit-content">
|
||||
<Col flexShrink={0} width="100%" height="fit-content">
|
||||
<Row alignItems="center" bg="washedGray" borderRadius="1" px="2" my="2">
|
||||
<Icon color="gray" icon="MagnifyingGlass" />
|
||||
<Input
|
||||
|
@ -65,7 +65,7 @@ export function SidebarListHeader(props: {
|
||||
<Box>
|
||||
{( !!feedPath) ? (
|
||||
<Row
|
||||
flexShrink="0"
|
||||
flexShrink={0}
|
||||
alignItems="center"
|
||||
justifyContent="space-between"
|
||||
py={2}
|
||||
@ -98,14 +98,14 @@ export function SidebarListHeader(props: {
|
||||
) : null
|
||||
}
|
||||
<Row
|
||||
flexShrink="0"
|
||||
flexShrink={0}
|
||||
alignItems="center"
|
||||
justifyContent="space-between"
|
||||
py={2}
|
||||
px={3}
|
||||
height='48px'
|
||||
>
|
||||
<Box flexShrink='0'>
|
||||
<Box flexShrink={0}>
|
||||
<Text>
|
||||
{props.initialValues.hideUnjoined ? `Joined ${noun}` : `All ${noun}`}
|
||||
</Text>
|
||||
|
Loading…
Reference in New Issue
Block a user