mirror of
https://github.com/pybricks/pybricks-code.git
synced 2026-09-12 09:36:27 +00:00
app: fix pb-app div size and background color
This commit is contained in:
+1
-1
@@ -126,7 +126,7 @@ const App: React.FunctionComponent = (_props) => {
|
||||
const [isDragging, setIsDragging] = useState(false);
|
||||
|
||||
return (
|
||||
<div className="pb-app">
|
||||
<div className="pb-app h-100 w-100 p-absolute">
|
||||
<Toolbar />
|
||||
<SplitterLayout
|
||||
customClassName={`pb-app-body ${
|
||||
|
||||
@@ -5,6 +5,14 @@
|
||||
|
||||
@import '../variables.scss';
|
||||
|
||||
.pb-app {
|
||||
background-color: $pt-app-background-color;
|
||||
}
|
||||
|
||||
.#{$ns}-dark .pb-app {
|
||||
background-color: $pt-dark-app-background-color;
|
||||
}
|
||||
|
||||
.pb-app-body {
|
||||
// height makes everything fit without scrolling
|
||||
height: calc(
|
||||
|
||||
@@ -5,13 +5,8 @@
|
||||
|
||||
@import '../variables.scss';
|
||||
|
||||
.#{$ns}-dark .pb-toolbar {
|
||||
background-color: $pt-dark-app-background-color;
|
||||
}
|
||||
|
||||
.pb-toolbar {
|
||||
height: $pb-toolbar-height;
|
||||
background-color: $pt-app-background-color;
|
||||
padding: 0 $pt-grid-size * 1.5;
|
||||
position: relative;
|
||||
width: 100%;
|
||||
|
||||
Reference in New Issue
Block a user