Improve mobile display of activity log
This commit is contained in:
parent
4d30cc9e7e
commit
9c957952fb
5 changed files with 14 additions and 7 deletions
|
@ -73,7 +73,7 @@ export default ({ content, children, disabled = false, ...props }: Props) => {
|
|||
transition={{ type: 'easeIn', damping: 20, stiffness: 300, duration: 0.1 }}
|
||||
{...getFloatingProps({
|
||||
ref: floating,
|
||||
className: 'absolute top-0 left-0 bg-gray-900 text-sm text-gray-200 px-3 py-2 rounded pointer-events-none',
|
||||
className: 'absolute top-0 left-0 bg-gray-900 text-sm text-gray-200 px-3 py-2 rounded pointer-events-none max-w-[90vw]',
|
||||
style: {
|
||||
position: strategy,
|
||||
top: `${y || 0}px`,
|
||||
|
|
Reference in a new issue