[v9.5.x] Plugins: Fix width for README pages with tables (#67025)
Plugins: Fix width for README pages with tables (#66872)
(cherry picked from commit 29aaf429ad)
Co-authored-by: Andres Martinez Gotor <andres.martinez@grafana.com>
This commit is contained in:
co-authored by
Andres Martinez Gotor
parent
7694ea28e5
commit
d153c50454
@@ -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