diff --git a/src/App.css b/src/App.css index b9d355d..a122ad4 100644 --- a/src/App.css +++ b/src/App.css @@ -1,42 +1,26 @@ -#root { - max-width: 1280px; - margin: 0 auto; - padding: 2rem; - text-align: center; +/* custom.css */ +.tlui-debug-panel { + display: none; } -.logo { - height: 6em; - padding: 1.5em; - will-change: filter; - transition: filter 300ms; -} -.logo:hover { - filter: drop-shadow(0 0 2em #646cffaa); -} -.logo.react:hover { - filter: drop-shadow(0 0 2em #61dafbaa); +.tlui-toolbar__extras { + display: none; } -@keyframes logo-spin { - from { - transform: rotate(0deg); - } - to { - transform: rotate(360deg); - } +.tlui-menu-zone { + display: none; } -@media (prefers-reduced-motion: no-preference) { - a:nth-of-type(2) .logo { - animation: logo-spin infinite 20s linear; - } +.tlui-navigation-zone { + display: none; } -.card { - padding: 2em; +.tlui-help-menu { + display: none; } -.read-the-docs { - color: #888; -} + + +.tlui-layout__top__right { + transform: translateY(60px); +} \ No newline at end of file diff --git a/src/App.jsx b/src/App.jsx index f27a3af..a404807 100644 --- a/src/App.jsx +++ b/src/App.jsx @@ -1,5 +1,32 @@ import { Tldraw } from "@tldraw/tldraw"; import "@tldraw/tldraw/tldraw.css"; +import "./App.css"; + +function MakeReal() { + return ( + + ); +} export default function App() { return ( @@ -12,28 +39,34 @@ export default function App() { width: "100vw", height: "100vh", padding: "20px", // Adds some padding inside the container - gap: "20px" // Reduces space between canvas and iframe + gap: "20px", // Reduces space between canvas and iframe }} > {/* Tldraw Component */} -
- +
+ + +
{/* Iframe Component */} -
+