mirror of https://github.com/grafana/grafana.git
minor border radius nit fixes
This commit is contained in:
parent
488eafe02e
commit
bcddc86a4a
|
@ -81,6 +81,7 @@ const getStyles = (theme: GrafanaTheme2) => {
|
|||
cursor: 'pointer',
|
||||
color: theme.colors.text.primary,
|
||||
background: theme.components.input.background,
|
||||
borderRadius: theme.shape.radius.default,
|
||||
padding: '3px',
|
||||
height: theme.v1.spacing.formInputHeight,
|
||||
border: `1px solid ${theme.components.input.borderColor}`,
|
||||
|
|
|
@ -82,6 +82,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
|
|||
flexWrap: 'wrap',
|
||||
alignItems: 'center',
|
||||
justifyContent: 'space-between',
|
||||
borderRadius: theme.shape.radius.default,
|
||||
padding: theme.spacing(1),
|
||||
backgroundColor: theme.colors.background.secondary,
|
||||
width: '100%',
|
||||
|
|
|
@ -63,7 +63,7 @@ const DashboardEmpty = ({ dashboard, canCreate }: Props) => {
|
|||
<Stack alignItems="center" justifyContent="center">
|
||||
<div className={styles.wrapper}>
|
||||
<Stack alignItems="stretch" justifyContent="center" gap={4} direction="column">
|
||||
<Box borderColor="strong" borderStyle="dashed" padding={4}>
|
||||
<Box borderRadius="lg" borderColor="strong" borderStyle="dashed" padding={4}>
|
||||
<Stack direction="column" alignItems="center" gap={2}>
|
||||
<Text element="h1" textAlignment="center" weight="medium">
|
||||
<Trans i18nKey="dashboard.empty.add-visualization-header">
|
||||
|
@ -90,7 +90,7 @@ const DashboardEmpty = ({ dashboard, canCreate }: Props) => {
|
|||
</Stack>
|
||||
</Box>
|
||||
<Stack direction={{ xs: 'column', md: 'row' }} wrap="wrap" gap={4}>
|
||||
<Box borderColor="strong" borderStyle="dashed" padding={3} flex={1}>
|
||||
<Box borderRadius="lg" borderColor="strong" borderStyle="dashed" padding={3} flex={1}>
|
||||
<Stack direction="column" alignItems="center" gap={1}>
|
||||
<Text element="h3" textAlignment="center" weight="medium">
|
||||
<Trans i18nKey="dashboard.empty.add-library-panel-header">Import panel</Trans>
|
||||
|
@ -113,7 +113,7 @@ const DashboardEmpty = ({ dashboard, canCreate }: Props) => {
|
|||
</Button>
|
||||
</Stack>
|
||||
</Box>
|
||||
<Box borderColor="strong" borderStyle="dashed" padding={3} flex={1}>
|
||||
<Box borderRadius="lg" borderColor="strong" borderStyle="dashed" padding={3} flex={1}>
|
||||
<Stack direction="column" alignItems="center" gap={1}>
|
||||
<Text element="h3" textAlignment="center" weight="medium">
|
||||
<Trans i18nKey="dashboard.empty.import-a-dashboard-header">Import a dashboard</Trans>
|
||||
|
|
Loading…
Reference in New Issue