Skip to content

Commit

Permalink
fixes issues where I made the filter for today's ep be at start of th…
Browse files Browse the repository at this point in the history
…e day for some dumb reason. wasn't thinking straight
  • Loading branch information
stolinski committed Oct 20, 2023
1 parent f3417a5 commit f164095
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
6 changes: 3 additions & 3 deletions src/lib/ShowCard.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -144,12 +144,12 @@
}
}
&:hover {
background-color: var(--zebra);
}
&.card {
border-radius: var(--brad);
border: solid var(--border-size) var(--black-8);
&:hover {
background-color: var(--zebra);
}
}
&.highlight {
Expand Down
1 change: 0 additions & 1 deletion src/server/ai/queries.ts
Original file line number Diff line number Diff line change
Expand Up @@ -68,7 +68,6 @@ export const SHOW_QUERY = (
{ take, order, skip, show_type }: QueryInputs = { take: PER_PAGE, order: 'desc', skip: 0 }
) => {
const today = new Date();
today.setHours(0, 0, 0, 0); // set time to start of the day

return Prisma.validator<Prisma.ShowFindManyArgs>()({
take,
Expand Down
11 changes: 6 additions & 5 deletions src/styles/buttons.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,9 @@
border: none;
font-family: var(--body-font-familly);
font-weight: 600;
padding: 8px 14px;
padding: 6px 15px;
font-size: var(--body-font-size);
border-radius: 4px;
border-radius: var(--brad);
background: var(--button-bg);
width: auto;
color: var(--button-color);
Expand All @@ -41,9 +41,10 @@
}

:is(button, .button).subtle {
--button-bg: var(--black-1);
--button-color: var(--yellow-8);
box-shadow: inset 0 0 0 var(--button-border-size) oklch(var(--blacklch) / 0.2);
--button-bg: var(--bg-1);
--button-color: var(--fg);
font-weight: 400;
box-shadow: inset 0 0 0 1px var(--subtle);
}

:is(button, .button).warning {
Expand Down

0 comments on commit f164095

Please sign in to comment.