ui
ui copied to clipboard
Buttons `scrollToTop/Bottom` overlaps the history timestamp
problem:
buttons scrollToTop and scrollToBottom overlaps the history timestamp
solution:
- hide
scrollToBottombutton 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 likemedia(https://tailwindcss.com/docs/responsive-design) - some js to hide
scrollToBottomif bottom and movescroll container, if buttons over history - add tooltip
ctrl+up,ctrl+downfor 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?
more fast solution -- add class="opacity-30 hover:opacity-100" to buttons and no need other steps
Fixed in https://github.com/temporalio/ui/pull/2269