Skip to content

The easy-to-use open source Business Intelligence and Embedded Analytics tool that lets everyone work with data :bar_chart:

Move the attribute widget description under the accordion header (#67019)

Phoomparin Manoc7029242e96b
diff --git a/enterprise/frontend/src/metabase-enterprise/sandboxes/components/LoginAttributesWidget/LoginAttributesWidget.tsx b/enterprise/frontend/src/metabase-enterprise/sandboxes/components/LoginAttributesWidget/LoginAttributesWidget.tsx
index ed93ace0e49..30f1f87988b 100644
--- a/enterprise/frontend/src/metabase-enterprise/sandboxes/components/LoginAttributesWidget/LoginAttributesWidget.tsx
+++ b/enterprise/frontend/src/metabase-enterprise/sandboxes/components/LoginAttributesWidget/LoginAttributesWidget.tsx
@@ -78,11 +78,14 @@ export const LoginAttributesWidget = ({
};
return (
- <FormField className={className} style={style} description={description}>
+ <FormField className={className} style={style}>
<Accordion mt="xl">
<Accordion.Item value="login-attributes">
<Accordion.Control>
<Text fz="md">{title}</Text>
+ <Text c="text-secondary" fw="normal">
+ {description}
+ </Text>
</Accordion.Control>
<Accordion.Panel>
<Box pt="md">