Logs: Fix Logs Pagination Button styling (#60219)

use css class rather css strings
This commit is contained in:
Sven Grossmann
2022-12-13 16:23:16 +01:00
committed by GitHub
parent 5f4435b693
commit ebd728a99a

View File

@@ -51,7 +51,7 @@ export function LogsNavigationPages({
<button
type="button"
data-testid={`page${index + 1}`}
className={styles.page}
className={cx(clearButtonStyles(theme), styles.page)}
key={page.queryRange.to}
onClick={() => {
reportInteraction('grafana_explore_logs_pagination_clicked', {
@@ -102,7 +102,6 @@ const getStyles = (theme: GrafanaTheme2, loading: boolean) => {
flex-direction: column;
`,
page: css`
${clearButtonStyles(theme)}
display: flex;
margin: ${theme.spacing(2)} 0;
cursor: ${loading ? 'auto' : 'pointer'};