{#each days as wd} {/each} {/each} {#each range(24) as h} {#each range(7) as wd} startSelection(wd, h)} on:end={() => endSelection(wd, h)} on:move={() => moved(wd, h)} on:clear={() => clearSelection()} /> {/each} {#if h === 0} {/each}
0 ? 2 : 1} class="oh-left-col oh-timecell-full border-box interactive relative text-sm sm:text-base" style={h > 0 ? "top: -0.75rem" : "height:0; top: -0.75rem"} > {#if h > 0} {h}:00 {/if}
{/if} {#each range(7) as wd} startSelection(wd, h + 0.5)} on:end={() => endSelection(wd, h + 0.5)} on:move={() => moved(wd, h + 0.5)} on:clear={() => clearSelection()} /> {/each}