diff --git a/public/app/features/explore-map/components/ExploreMapFrame.tsx b/public/app/features/explore-map/components/ExploreMapFrame.tsx
index e50aa4b6cc7..ccf46de0c3d 100644
--- a/public/app/features/explore-map/components/ExploreMapFrame.tsx
+++ b/public/app/features/explore-map/components/ExploreMapFrame.tsx
@@ -499,6 +499,7 @@ function ExploreMapFrameComponent({ frame }: ExploreMapFrameProps) {
({
position: 'absolute',
top: '-30px',
left: '0',
+ width: '100%',
+ maxWidth: '100%',
+ overflow: 'hidden',
+ minWidth: 0,
padding: theme.spacing(0.5, 1),
backgroundColor: theme.colors.background.secondary,
border: `1px solid ${theme.colors.border.strong}`,
@@ -703,7 +708,11 @@ const getStyles = (theme: GrafanaTheme2) => ({
frameTitle: css({
fontSize: theme.typography.body.fontSize,
fontWeight: theme.typography.fontWeightMedium,
- minWidth: '100px',
+ flex: '1 1 auto',
+ minWidth: 0,
+ overflow: 'hidden',
+ textOverflow: 'ellipsis',
+ whiteSpace: 'nowrap',
}),
frameTitleInput: css({
fontSize: theme.typography.body.fontSize,
@@ -713,7 +722,8 @@ const getStyles = (theme: GrafanaTheme2) => ({
outline: `2px solid ${theme.colors.primary.border}`,
backgroundColor: theme.colors.background.primary,
borderRadius: theme.shape.radius.default,
- minWidth: '100px',
+ flex: '1 1 auto',
+ minWidth: 0,
}),
colorButton: css({
width: '24px',