koro

an event time scheduler
git clone https://tilde.team/~marisa/repo/koro.git
Log | Files | Refs | README | LICENSE

commit 716c4be5a8163f72c2157a046e06065952fde178
parent 5f7eeaa4eb2a8f39cf038384f8c572a54169b60d
Author: mokou <mokou@posteo.de>
Date:   Thu, 21 May 2020 22:43:01 +0200

fix(grid): Limit scrolling right

Diffstat:
Msrc/components/DateTimeGrid.svelte | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/components/DateTimeGrid.svelte b/src/components/DateTimeGrid.svelte @@ -74,8 +74,8 @@ <div class="col-span-8" /> <div class="text-center hover:cursor-pointer" - on:click={() => (view = [view[0] + 1, view[1] + 1])}> - › + on:click={() => (view = view[1] < datesDay1.length ? [view[0] + 1, view[1] + 1] : view)}> + {view[1] < datesDay1.length ? '›' : ''} </div> <div class="font-bold"> {day1.date() === day(startDate).date() ? 'today' : day1