mirror of
https://github.com/grafana/grafana.git
synced 2025-07-31 22:02:17 +08:00
Dashboard: New UX for switching layouts (#102268)
* Layout switching * Update * Update * Update * Update * Update * unline styles * fixing lint issue
This commit is contained in:
@ -61,6 +61,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
|
||||
height: theme.spacing(2),
|
||||
border: `1px solid ${theme.colors.border.medium}`,
|
||||
borderRadius: theme.shape.radius.circle,
|
||||
cursor: 'pointer',
|
||||
margin: '3px 0' /* Space for box-shadow when focused */,
|
||||
|
||||
':checked': {
|
||||
@ -100,6 +101,7 @@ const getStyles = (theme: GrafanaTheme2) => ({
|
||||
display: 'grid',
|
||||
gridTemplateColumns: `${theme.spacing(2)} auto`,
|
||||
gap: theme.spacing(1),
|
||||
cursor: 'pointer',
|
||||
}),
|
||||
description: css({
|
||||
fontSize: theme.typography.size.sm,
|
||||
|
Reference in New Issue
Block a user