preference: Fix CSS in Vite dev mode.

Signed-off-by: Anders Kaseorg <anders@zulip.com>
This commit is contained in:
Anders Kaseorg
2023-04-18 14:16:48 -07:00
parent 677dfe425c
commit 2eea4a32a5
2 changed files with 2 additions and 3 deletions

View File

@@ -1,3 +1,5 @@
@import url("@yaireo/tagify/dist/tagify.css");
:host {
contain: strict;
display: flow-root;

View File

@@ -2,9 +2,6 @@
<meta charset="UTF-8" />
<link rel="stylesheet" href="css/fonts.css" />
<link rel="stylesheet" href="css/preference.css" />
<script type="module">
import "@yaireo/tagify/dist/tagify.css";
</script>
<!-- Initially hidden to prevent FOUC -->
<div id="content" hidden>