Skip to content

Commit

Permalink
resizer.js, Collapse
Browse files Browse the repository at this point in the history
  • Loading branch information
TeaByte committed Jan 10, 2024
1 parent 38cafc5 commit 82fcfbc
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 5 deletions.
4 changes: 2 additions & 2 deletions components/Collapse.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -6,8 +6,8 @@ export default function Collapse(
) {
return (
<div
tabindex={1}
class="collapse collapse-plus border border-base-300 bg-base-100"
tabindex={0}
class="collapse collapse-arrow border border-base-300 bg-base-200"
>
<input type="checkbox" />
<div class="collapse-title text-xl font-medium">
Expand Down
2 changes: 1 addition & 1 deletion islands/ThemeToggle.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ export default function ThemeToggle() {
const storedTheme = localStorage.getItem("selectedTheme");
if (storedTheme === "nord") {
document.documentElement.setAttribute("data-theme", "dracula");
localStorage.setItem("selectedTheme", "dracula"); // Fix this line
localStorage.setItem("selectedTheme", "dracula");
} else {
document.documentElement.setAttribute("data-theme", "nord");
localStorage.setItem("selectedTheme", "nord");
Expand Down
2 changes: 1 addition & 1 deletion static/resizer.js
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ document.addEventListener("DOMContentLoaded", function () {
sizes: [0, 100],
gutterAlign: "end",
minSize: 0,
gutterSize: 16,
gutterSize: 19,
});
let isRight = true;
const gutter = document.querySelector(".gutter");
Expand Down
2 changes: 1 addition & 1 deletion static/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ mark::before {
top: 50%;
right: 0;
bottom: 0;
left: 5px;
left: 7px;
background-image: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAUAAAAeCAYAAADkftS9AAAAIklEQVQoU2M4c+bMfxAGAgYYmwGrIIiDjrELjpo5aiZeMwF+yNnOs5KSvgAAAABJRU5ErkJggg==');
filter: invert(100%);
background-repeat: no-repeat;
Expand Down

0 comments on commit 82fcfbc

Please sign in to comment.