Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

refactor: Clean up golden-layout css #1322

Merged
merged 12 commits into from
May 29, 2023
2 changes: 2 additions & 0 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 5 additions & 1 deletion packages/dashboard/src/PanelPlaceholder.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,9 +4,13 @@
display: flex;
flex-direction: column;
justify-content: center;
padding: $spacer-3;
min-height: 100%;
max-height: 100%;
text-align: center;
overflow: hidden;

// add padding on a iner wrapper so it is included in max height of parent
dsmmcken marked this conversation as resolved.
Show resolved Hide resolved
div {
padding: $spacer-3;
}
}
2 changes: 1 addition & 1 deletion packages/dashboard/src/PanelPlaceholder.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ const PanelPlaceholder = React.forwardRef(
const component = LayoutUtils.getComponentNameFromPanel({ props });
return (
<div ref={ref} className="panel-placeholder">
Component &quot;{component}&quot; is not registered.
<div>Component &quot;{component}&quot; is not registered.</div>
</div>
);
}
Expand Down
9 changes: 0 additions & 9 deletions packages/dashboard/src/layout/GoldenLayout.module.scss

This file was deleted.

Loading