mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Playlist: Add default border radius to PlaylistTableRows (#92666)
add default border radius to PlaylistTableRows
This commit is contained in:
parent
5942d8595d
commit
714f2d6d51
@ -4779,11 +4779,7 @@ exports[`better eslint`] = {
|
|||||||
"public/app/features/playlist/PlaylistTableRows.tsx:5381": [
|
"public/app/features/playlist/PlaylistTableRows.tsx:5381": [
|
||||||
[0, 0, 0, "No untranslated strings. Wrap text with <Trans />", "0"],
|
[0, 0, 0, "No untranslated strings. Wrap text with <Trans />", "0"],
|
||||||
[0, 0, 0, "No untranslated strings. Wrap text with <Trans />", "1"],
|
[0, 0, 0, "No untranslated strings. Wrap text with <Trans />", "1"],
|
||||||
[0, 0, 0, "No untranslated strings. Wrap text with <Trans />", "2"],
|
[0, 0, 0, "No untranslated strings. Wrap text with <Trans />", "2"]
|
||||||
[0, 0, 0, "Styles should be written using objects.", "3"],
|
|
||||||
[0, 0, 0, "Styles should be written using objects.", "4"],
|
|
||||||
[0, 0, 0, "Styles should be written using objects.", "5"],
|
|
||||||
[0, 0, 0, "Styles should be written using objects.", "6"]
|
|
||||||
],
|
],
|
||||||
"public/app/features/playlist/StartModal.tsx:5381": [
|
"public/app/features/playlist/StartModal.tsx:5381": [
|
||||||
[0, 0, 0, "No untranslated strings. Wrap text with <Trans />", "0"]
|
[0, 0, 0, "No untranslated strings. Wrap text with <Trans />", "0"]
|
||||||
|
@ -102,30 +102,31 @@ export const PlaylistTableRows = ({ items, onDelete }: Props) => {
|
|||||||
|
|
||||||
function getStyles(theme: GrafanaTheme2) {
|
function getStyles(theme: GrafanaTheme2) {
|
||||||
return {
|
return {
|
||||||
row: css`
|
row: css({
|
||||||
padding: 6px;
|
padding: theme.spacing(0.75),
|
||||||
background: ${theme.colors.background.secondary};
|
background: theme.colors.background.secondary,
|
||||||
display: flex;
|
borderRadius: theme.shape.radius.default,
|
||||||
align-items: center;
|
display: 'flex',
|
||||||
justify-content: space-between;
|
alignItems: 'center',
|
||||||
margin-bottom: 3px;
|
justifyContent: 'space-between',
|
||||||
|
marginBottom: '3px',
|
||||||
|
|
||||||
border: 1px solid ${theme.colors.border.medium};
|
border: `1px solid ${theme.colors.border.medium}`,
|
||||||
&:hover {
|
'&:hover': {
|
||||||
border: 1px solid ${theme.colors.border.strong};
|
border: `1px solid ${theme.colors.border.strong}`,
|
||||||
}
|
},
|
||||||
`,
|
}),
|
||||||
rightMargin: css`
|
rightMargin: css({
|
||||||
margin-right: 5px;
|
marginRight: '5px',
|
||||||
`,
|
}),
|
||||||
actions: css`
|
actions: css({
|
||||||
align-items: center;
|
alignItems: 'center',
|
||||||
justify-content: center;
|
justifyContent: 'center',
|
||||||
display: flex;
|
display: 'flex',
|
||||||
`,
|
}),
|
||||||
settings: css`
|
settings: css({
|
||||||
label: settings;
|
label: 'settings',
|
||||||
text-align: right;
|
textAlign: 'right',
|
||||||
`,
|
}),
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user