rename container class to excalidraw and move css from index.html to app.css (#1729)

Moved the css from index.html to app.css so it can be included in upstream app as well
This commit is contained in:
Aakansha Doshi 2020-06-08 16:06:35 +05:30 committed by GitHub
parent 53ab46126d
commit 60973f6dc5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
4 changed files with 32 additions and 31 deletions

View file

@ -209,7 +209,7 @@ class App extends React.Component<any, AppState> {
const canvasHeight = canvasDOMHeight * canvasScale;
return (
<div className="container">
<div className="excalidraw">
<LayerUI
canvas={this.canvas}
appState={this.state}

View file

@ -51,7 +51,7 @@ canvas {
image-rendering: -moz-crisp-edges; // FF
}
.container {
.excalidraw {
display: flex;
position: fixed;
top: 0;