Skip to content

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

fix: unnecessary scrollbar in sources used (#74354)

Maksym Yakubychaa6934f97feb
diff --git a/frontend/src/metabase/metabot/components/MetabotChat/MetabotAgentDataSourcePills.tsx b/frontend/src/metabase/metabot/components/MetabotChat/MetabotAgentDataSourcePills.tsx
index 6b6f6d4eacd..d3c914e4b13 100644
--- a/frontend/src/metabase/metabot/components/MetabotChat/MetabotAgentDataSourcePills.tsx
+++ b/frontend/src/metabase/metabot/components/MetabotChat/MetabotAgentDataSourcePills.tsx
@@ -154,7 +154,7 @@ const SourceItem = ({
to={to}
href={to}
>
- <Flex direction="column" gap="0.25rem" miw={0} maw="100%">
+ <Flex direction="column" miw={0} maw="100%">
<Flex gap="sm" align="center" miw={0} maw="100%">
<Icon
name={iconName}
@@ -171,7 +171,7 @@ const SourceItem = ({
overflow: "hidden",
fontSize: "0.75rem",
fontWeight: 700,
- lineHeight: 1,
+ lineHeight: 1.5,
textOverflow: "ellipsis",
whiteSpace: "nowrap",
}}
@@ -204,9 +204,9 @@ const SourceItem = ({
miw={0}
c="text-secondary"
style={{
- overflowX: "hidden",
+ overflow: "hidden",
fontSize: "0.75rem",
- lineHeight: 1,
+ lineHeight: 1.5,
textOverflow: "ellipsis",
whiteSpace: "nowrap",
}}