Skip to content

Commit ef89cbc

Browse files
committed
Revert "refactor: Clean up golden-layout css (#1322)"
This reverts commit d1838d7.
1 parent 4c3fe24 commit ef89cbc

23 files changed

Lines changed: 483 additions & 320 deletions

package-lock.json

Lines changed: 0 additions & 2 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

packages/dashboard/src/PanelPlaceholder.scss

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,9 @@
44
display: flex;
55
flex-direction: column;
66
justify-content: center;
7+
padding: $spacer-3;
78
min-height: 100%;
89
max-height: 100%;
910
text-align: center;
1011
overflow: hidden;
11-
12-
// add padding on an inner wrapper so it is included in max height of parent
13-
div {
14-
padding: $spacer-3;
15-
}
1612
}

packages/dashboard/src/PanelPlaceholder.tsx

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ const PanelPlaceholder = React.forwardRef(
1111
const component = LayoutUtils.getComponentNameFromPanel({ props });
1212
return (
1313
<div ref={ref} className="panel-placeholder">
14-
<div>Component &quot;{component}&quot; is not registered.</div>
14+
Component &quot;{component}&quot; is not registered.
1515
</div>
1616
);
1717
}
Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,9 @@
1+
@import '@deephaven/components/scss/custom.scss';
2+
@import './GoldenLayout.scss';
3+
4+
// Exported variables for use in GoldenLayoutThemeExport.js
5+
/* stylelint-disable property-no-unknown */
6+
:export {
7+
tab-height: $tab-height;
8+
drag-border-width: $drag-border-width;
9+
}

0 commit comments

Comments
 (0)