[v11.3.x] Fix dashboards listing table appearing distorted (#96390)
Fix dashboards listing table appearing distorted (#96371)
* fix CSS
* approx height calc to account for header div
(cherry picked from commit 19c04168c3)
This commit is contained in:
@@ -114,7 +114,7 @@ export function PluginDetailsBody({ plugin, queryParams, pageId }: Props): JSX.E
|
||||
|
||||
if (pageId === PluginTabIds.USAGE && pluginConfig) {
|
||||
return (
|
||||
<div>
|
||||
<div className={styles.wrap}>
|
||||
<PluginUsage plugin={pluginConfig?.meta} />
|
||||
</div>
|
||||
);
|
||||
@@ -136,6 +136,10 @@ export function PluginDetailsBody({ plugin, queryParams, pageId }: Props): JSX.E
|
||||
}
|
||||
|
||||
export const getStyles = (theme: GrafanaTheme2) => ({
|
||||
wrap: css({
|
||||
width: '100%',
|
||||
height: '50vh',
|
||||
}),
|
||||
readme: css({
|
||||
'& img': {
|
||||
maxWidth: '100%',
|
||||
|
||||
@@ -115,6 +115,7 @@ export const getStyles = (theme: GrafanaTheme2) => {
|
||||
// Needed due to block formatting context
|
||||
tabContent: css({
|
||||
paddingLeft: '5px',
|
||||
width: '100%',
|
||||
}),
|
||||
};
|
||||
};
|
||||
|
||||
@@ -88,7 +88,7 @@ export const getStyles = (theme: GrafanaTheme2) => {
|
||||
return {
|
||||
wrap: css`
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
height: 90%;
|
||||
`,
|
||||
info: css`
|
||||
padding-bottom: 30px;
|
||||
|
||||
Reference in New Issue
Block a user