We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5bb4b9d commit 768d927Copy full SHA for 768d927
site/src/pages/TemplatePage/TemplateEmbedPage/TemplateEmbedPage.tsx
@@ -142,8 +142,10 @@ export const TemplateEmbedPageView: FC<{
142
<Box
143
display="flex"
144
height={{
145
- // 80px is the vertical padding of the content area
146
- // 36px is from the status bar from the bottom
+ // 80px is the vertical padding of the content area 36px is from
+ // the status bar from the bottom We want to use the vh unit since
147
+ // it will be sticky to the screen and not relative to the parent
148
+ // layout
149
height: "calc(100vh - (80px + 36px))",
150
top: 40,
151
position: "sticky",
0 commit comments