mirror of
https://github.com/excalidraw/excalidraw.git
synced 2025-05-03 10:00:07 -04:00
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:
parent
53ab46126d
commit
60973f6dc5
4 changed files with 32 additions and 31 deletions
|
@ -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}
|
||||
|
|
|
@ -51,7 +51,7 @@ canvas {
|
|||
image-rendering: -moz-crisp-edges; // FF
|
||||
}
|
||||
|
||||
.container {
|
||||
.excalidraw {
|
||||
display: flex;
|
||||
position: fixed;
|
||||
top: 0;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue