Stop text overflowing on small viewports

This commit is contained in:
oscarkilhed
2025-12-08 11:21:47 +01:00
parent 3490c3b0fd
commit 80f8c4cc10
2 changed files with 6 additions and 1 deletions
+1 -1
View File
@@ -4677,4 +4677,4 @@
"count": 1
}
}
}
}
@@ -45,6 +45,7 @@ export function DashboardLinkRenderer({ link, dashboardUID, inMenu }: Props) {
target={link.targetBlank ? '_blank' : undefined}
rel="noreferrer"
data-testid={selectors.components.DashboardLinks.link}
className={styles.linkButton}
>
{linkInfo.title}
</DashboardLinkButton>
@@ -65,6 +66,10 @@ function getStyles(theme: GrafanaTheme2) {
verticalAlign: 'middle',
marginBottom: theme.spacing(1),
marginRight: theme.spacing(1),
maxWidth: '100%',
}),
linkButton: css({
maxWidth: '100%',
}),
};
}