problem:
buttons scrollToTop and scrollToBottom overlaps the history timestamp
solution:
hide scrollToBottom button on bottom
move buttons left, if they overlaps the timestamp
i've prepared a PR, but it does a few things:
timestamps hides by computed js $: showTimestamp = canvasWidth > 1200;, i think good solutions for this -- use tilewind "responsive design" css like media (https://tailwindcss.com/docs/responsive-design)
some js to hide scrollToBottom if bottom and move scroll container, if buttons over history
add tooltip ctrl+up, ctrl+down for scroll buttons. seems, if user need buttons, he not use scroll. it's weird that he doesn't know about keyboard shortcuts and needs buttons.
problem: buttons
scrollToTop
andscrollToBottom
overlaps the history timestampsolution:
scrollToBottom
button on bottomi've prepared a PR, but it does a few things:
$: showTimestamp = canvasWidth > 1200;
, i think good solutions for this -- use tilewind "responsive design" css likemedia
(https://tailwindcss.com/docs/responsive-design)scrollToBottom
if bottom and movescroll container
, if buttons over historyctrl+up
,ctrl+down
for scroll buttons. seems, if user need buttons, he not use scroll. it's weird that he doesn't know about keyboard shortcuts and needs buttons.do i need to split pr into parts or can push one?