Improve mobile display of activity log

This commit is contained in:
DaneEveritt 2022-06-12 09:09:01 -04:00
parent 4d30cc9e7e
commit 9c957952fb
No known key found for this signature in database
GPG key ID: EEA66103B3D71F53
5 changed files with 14 additions and 7 deletions

View file

@ -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`,