Skip to content

Commit

Permalink
Merge pull request #103 from tjheffner/more-cleaning
Browse files Browse the repository at this point in the history
a little more cleanup
  • Loading branch information
tjheffner authored Jan 24, 2024
2 parents d5f6fbe + ec96778 commit b76d398
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 6 deletions.
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

0 comments on commit b76d398

Please sign in to comment.