Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 0 additions & 8 deletions src/common/EvalIFrame.res
Original file line number Diff line number Diff line change
Expand Up @@ -13,14 +13,6 @@ let srcDoc = `
</head>
<body>
<div id="root"></div>
<script
src="https://unpkg.com/react@17/umd/react.production.min.js"
crossorigin
></script>
<script
src="https://unpkg.com/react-dom@17/umd/react-dom.production.min.js"
crossorigin
></script>
<script>
window.addEventListener("message", (event) => {
try {
Expand Down
8 changes: 4 additions & 4 deletions src/components/ToggleButton.res
Original file line number Diff line number Diff line change
Expand Up @@ -3,14 +3,14 @@ let make = (~checked, ~onChange, ~children) => {
<label className="inline-flex items-center cursor-pointer">
<input type_="checkbox" value="" checked onChange className="sr-only peer" />
<div
className={`relative w-8 h-4 bg-gray-200
rounded-full peer dark:bg-gray-700 peer-checked:after:translate-x-full
className={`relative w-8 h-4 bg-gray-700
rounded-full peer peer-checked:after:translate-x-full
rtl:peer-checked:after:-translate-x-full peer-checked:after:border-white
after:content-[''] after:absolute after:top-[2px] after:start-[4px]
after:bg-white after:border-gray-300 after:border after:rounded-full
after:h-3 after:w-3 after:transition-all dark:border-gray-600
after:h-3 after:w-3 after:transition-all border-gray-600
peer-checked:bg-sky`}
/>
<span className={"ms-2 text-sm text-gray-900 dark:text-gray-300"}> {children} </span>
<span className={"ms-2 text-sm text-gray-300"}> {children} </span>
</label>
}