Commit 2adafb5f authored by Benjamin Bouvier's avatar Benjamin Bouvier
Browse files

client: fix two onboarding bugs:

1. indicate a fallback position for the tippy popup, since <main> is not
   present in onboarding.
2. allow scrolling the logs by settings the onboarding container's
   height to 100%.
parent 505eb04a
.onboarding {
margin: auto;
height: 100%;
width: 100%;
max-width: 800px;
padding: 1em;
......
......@@ -105,7 +105,9 @@ const Popover = React.forwardRef<PopoverRef, PopoverProps>((props, ref) => {
{
name: 'preventOverflow',
options: {
boundary: document.querySelector('#app > main'),
boundary:
document.querySelector('#app > main') ||
document.querySelector('#app'),
},
},
],
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment