mirror of
https://github.com/grafana/grafana.git
synced 2025-02-25 18:55:37 -06:00
Plugins: Fix width for README pages with tables (#66872)
This commit is contained in:
committed by
GitHub
parent
1f193f1bad
commit
29aaf429ad
@@ -119,5 +119,23 @@ export const getStyles = (theme: GrafanaTheme2) => ({
|
||||
text-decoration: underline;
|
||||
}
|
||||
}
|
||||
|
||||
table {
|
||||
table-layout: fixed;
|
||||
width: 100%;
|
||||
|
||||
td,
|
||||
th {
|
||||
overflow-x: auto;
|
||||
padding: ${theme.spacing(0.5)} ${theme.spacing(1)};
|
||||
}
|
||||
|
||||
table,
|
||||
th,
|
||||
td {
|
||||
border: 1px solid ${theme.colors.border.medium};
|
||||
border-collapse: collapse;
|
||||
}
|
||||
}
|
||||
`,
|
||||
});
|
||||
|
||||
Reference in New Issue
Block a user