Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

a little more cleanup #103

Merged
merged 1 commit into from
Jan 24, 2024
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
2 changes: 1 addition & 1 deletion src/lib/components/EmojiWall.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@
let visible = shuffleArray(scenes[initial])
</script>

<div class="block text-shadow text-4xl md:text-6xl mt-4 lg:mt-8 w-full max-h-[400px] md:max-h-[450px] overflow-hidden lg:overflow-visible">
<div class="block text-shadow text-4xl md:text-6xl mt-4 lg:mt-8 w-full max-h-[400px] md:max-h-[450px] overflow-hidden lg:overflow-visible" aria-hidden="true">
{#each visible as f, i}
<!-- <span>{i}</span> -->
<button
Expand Down
9 changes: 4 additions & 5 deletions src/lib/components/Slice.svelte
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,8 @@
export let prose = true
export let full = false


let sliceClasses = "slice mb-6 grid w-full grid-cols-4 gap-4 py-8 md:mb-8 md:gap-8 md:py-12 lg:gap-12 xl:gap-16"
let slotWrapperClasses = 'w-full md:w-2/3 md:ml-4 lg:ml-12'
if (title && prose) {
slotWrapperClasses = 'prose prose-lg prose-slate dark:prose-invert'
Expand All @@ -13,15 +15,12 @@
}
// nuclear full width
if (full) {
sliceClasses = "slice mb-6 grid w-full grid-cols-4 gap-4 pb-8 md:mb-8 md:gap-8 md:pb-12 lg:gap-12 xl:gap-16"
slotWrapperClasses = 'w-full px-8'
}
</script>

<div
class="slice mb-6 grid w-full grid-cols-4 gap-4
py-8 md:mb-8 md:gap-8 md:py-12 lg:gap-12 xl:gap-16
"
>
<div class={sliceClasses}>
{#if title}
<div class="col-span-4 md:col-span-1">
<h2
Expand Down
Loading