Fixed: Details for episode history flashing on mobile devices

Signed-off-by: Robin Dadswell <robin@dadswell.email>
pull/770/head
Mark McDowall 5 years ago committed by Qstick
parent 230198c1e7
commit 1e7efbe3d6

@ -54,9 +54,9 @@ class Tooltip extends Component {
} else if ((/^bottom/).test(data.placement)) { } else if ((/^bottom/).test(data.placement)) {
data.styles.maxHeight = windowHeight - bottom - 20; data.styles.maxHeight = windowHeight - bottom - 20;
} else if ((/^right/).test(data.placement)) { } else if ((/^right/).test(data.placement)) {
data.styles.maxWidth = windowWidth - right - 30; data.styles.maxWidth = windowWidth - right - 35;
} else { } else {
data.styles.maxWidth = left - 30; data.styles.maxWidth = left - 35;
} }
return data; return data;

Loading…
Cancel
Save