mirror of
https://github.com/grafana/grafana.git
synced 2026-07-30 00:08:10 -05:00
Plugins: Fix width for README pages with tables (#66872)
This commit is contained in:
@@ -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