Skip to content
Prev Previous commit
Next Next commit
adjust surrounding spaces from spacer and cols to follow existing pat…
…terns
  • Loading branch information
dantovska committed Dec 15, 2025
commit 9c723dc5275b1c3b1435292b1d33598ab8e6171c
Original file line number Diff line number Diff line change
Expand Up @@ -89,8 +89,6 @@ const CreateRedisearchIndex = ({ onClosePanel, onCreateIndex }: Props) => {
initialFieldValue(fieldTypeOptions),
])



const lastAddedIdentifier = useRef<HTMLInputElement>(null)
const prevCountFields = useRef<number>(0)

Expand Down Expand Up @@ -213,8 +211,7 @@ const CreateRedisearchIndex = ({ onClosePanel, onCreateIndex }: Props) => {

return (
<>
<StyledContent gap="xl">
<Spacer size="xs" />
<StyledContent gap="l">
<Row gap="m" grow={false}>
<FlexItem grow>
<FormField label="Index Name">
Expand Down Expand Up @@ -263,11 +260,11 @@ const CreateRedisearchIndex = ({ onClosePanel, onCreateIndex }: Props) => {
/>
</FlexItem>
</Row>
<HorizontalRule margin="s" colorVariable="separatorColor" />
<Col grow={false} gap="s">
<HorizontalRule margin="m" colorVariable="separatorColor" />
<Col grow={false} gap="m">
<Row align="center" gap="xs">
<Text>Identifier</Text>
{IdentifierInfo()}
<IdentifierInfo />
</Row>
<div>
<AddMultipleFields
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@ const CreateRedisearchIndexWrapper = ({
onCreateIndex,
}: Props) => (
<StyledCreateRedisearchIndexWrapper data-testid="create-index-panel">
<StyledHeader>
<Spacer size="m" />
<Spacer size="m" />
<StyledHeader gap="xl">
<Row justify="between">
<Title size="M">New Index</Title>
{!arePanelsCollapsed && (
Expand All @@ -55,7 +55,6 @@ const CreateRedisearchIndexWrapper = ({
</RiTooltip>
)}
</Row>
<Spacer size="xl" />
<FlexItem>
<Text size="s">
Use CLI or Workbench to create more advanced indexes. See more details
Expand All @@ -73,9 +72,8 @@ const CreateRedisearchIndexWrapper = ({
</Link>
</Text>
</FlexItem>
<Spacer size="xl" />
</StyledHeader>
<HorizontalRule margin="xs" colorVariable="separatorColor" />
<HorizontalRule margin="l" colorVariable="separatorColor" />
<CreateRedisearchIndex
onCreateIndex={onCreateIndex}
onClosePanel={onClosePanel}
Expand Down