mirror of
https://github.com/filecoin-project/slate.git
synced 2024-11-27 10:52:41 +03:00
slate-preview: make it full screen
This commit is contained in:
parent
980bd0230c
commit
e370f73995
@ -24,7 +24,6 @@ const STYLES_ROOT = css`
|
||||
|
||||
const STYLES_ROOT_CONTENT = css`
|
||||
position: relative;
|
||||
padding: 88px 24px 88px 24px;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
display: flex;
|
||||
|
@ -171,6 +171,8 @@ export default class SceneSlate extends React.Component {
|
||||
return o.id !== id;
|
||||
});
|
||||
|
||||
// NOTE(jim): Every time we remove an object from a slate.
|
||||
// We will want to remove the object from the layouts too.
|
||||
const keys = Object.keys(this.state.layouts);
|
||||
let layouts = this.state.layouts;
|
||||
for (let j = 0; j < keys.length; j++) {
|
||||
|
Loading…
Reference in New Issue
Block a user