mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Alerting: Detail view part 3 (#81286)
This commit is contained in:
@@ -74,7 +74,9 @@ export const Alert = React.forwardRef<HTMLDivElement, Props>(
|
||||
</Box>
|
||||
|
||||
<Box paddingY={1} grow={1}>
|
||||
<Text weight="medium">{title}</Text>
|
||||
<Text color="primary" weight="medium">
|
||||
{title}
|
||||
</Text>
|
||||
{children && <div className={styles.content}>{children}</div>}
|
||||
</Box>
|
||||
{/* If onRemove is specified, giving preference to onRemove */}
|
||||
@@ -151,6 +153,7 @@ const getStyles = (
|
||||
color: color.text,
|
||||
}),
|
||||
content: css({
|
||||
color: theme.colors.text.primary,
|
||||
paddingTop: hasTitle ? theme.spacing(0.5) : 0,
|
||||
maxHeight: '50vh',
|
||||
overflowY: 'auto',
|
||||
|
||||
Reference in New Issue
Block a user