Correct css setup

This commit is contained in:
Greg Shuflin 2024-11-23 16:48:06 -08:00
parent 7c7811fd4d
commit 25e1487148
2 changed files with 1 additions and 32 deletions

View File

@ -3,7 +3,6 @@
<head> <head>
<meta charset="UTF-8" /> <meta charset="UTF-8" />
<link rel="stylesheet" href="/src/styles.css" /> <link rel="stylesheet" href="/src/styles.css" />
<link href="https://cdn.jsdelivr.net/npm/quill@2.0.2/dist/quill.snow.css" rel="stylesheet">
<meta name="viewport" content="width=device-width, initial-scale=1.0" /> <meta name="viewport" content="width=device-width, initial-scale=1.0" />
<title>Notes</title> <title>Notes</title>
@ -11,37 +10,6 @@
</head> </head>
<body> <body>
<main class="container">
<h1>Welcome to Tauri</h1>
<div class="row">
<a href="https://vitejs.dev" target="_blank">
<img src="/src/assets/vite.svg" class="logo vite" alt="Vite logo" />
</a>
<a href="https://tauri.app" target="_blank">
<img
src="/src/assets/tauri.svg"
class="logo tauri"
alt="Tauri logo"
/>
</a>
<a href="https://www.typescriptlang.org/docs" target="_blank">
<img
src="/src/assets/typescript.svg"
class="logo typescript"
alt="typescript logo"
/>
</a>
</div>
<p>Click on the Tauri logo to learn more about the framework</p>
<div id="editor"></div> <div id="editor"></div>
<form class="row" id="greet-form">
<input id="greet-input" placeholder="Enter a name..." />
<button type="submit">Greet</button>
</form>
<p id="greet-msg"></p>
</main>
</body> </body>
</html> </html>

View File

@ -6,6 +6,7 @@ import ReactDOM from "react-dom/client";
import Quill from 'quill'; import Quill from 'quill';
import "quill/dist/quill.core.css"; import "quill/dist/quill.core.css";
import "quill/dist/quill.snow.css";
const quill = new Quill("#editor", { theme: "snow" }); const quill = new Quill("#editor", { theme: "snow" });
console.log("Quill", quill); console.log("Quill", quill);