mirror of https://github.com/grafana/grafana.git
suggested panel button visual improvements
CodeQL checks / Detect whether code changed (push) Waiting to run
Details
CodeQL checks / Analyze (actions) (push) Blocked by required conditions
Details
CodeQL checks / Analyze (go) (push) Blocked by required conditions
Details
CodeQL checks / Analyze (javascript) (push) Blocked by required conditions
Details
CodeQL checks / Detect whether code changed (push) Waiting to run
Details
CodeQL checks / Analyze (actions) (push) Blocked by required conditions
Details
CodeQL checks / Analyze (go) (push) Blocked by required conditions
Details
CodeQL checks / Analyze (javascript) (push) Blocked by required conditions
Details
This commit is contained in:
parent
c565bda5e9
commit
c794474b6f
|
|
@ -119,7 +119,7 @@ function getStyles(theme: GrafanaTheme2) {
|
|||
}),
|
||||
listItem: css({
|
||||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
alignItems: 'flex-start',
|
||||
gap: theme.spacing(1),
|
||||
padding: theme.spacing(1),
|
||||
marginBottom: theme.spacing(1),
|
||||
|
|
@ -138,13 +138,19 @@ function getStyles(theme: GrafanaTheme2) {
|
|||
display: 'flex',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'center',
|
||||
marginTop: theme.spacing(0.25), // Slight offset to align with first line of text
|
||||
flexShrink: 0, // Prevent icon from shrinking
|
||||
}),
|
||||
itemText: css({
|
||||
display: 'flex',
|
||||
flexDirection: 'column',
|
||||
flex: 1,
|
||||
minWidth: 0, // Allow flex item to shrink below its content size
|
||||
}),
|
||||
itemName: css({
|
||||
fontWeight: theme.typography.fontWeightMedium,
|
||||
wordBreak: 'break-word',
|
||||
lineHeight: theme.typography.body.lineHeight,
|
||||
}),
|
||||
itemMeta: css({
|
||||
color: theme.colors.text.secondary,
|
||||
|
|
|
|||
Loading…
Reference in New Issue