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 f994197 commit b7aee6cCopy full SHA for b7aee6c
site/src/pages/TemplatePage/TemplateEmbedPage/TemplateEmbedPage.tsx
@@ -142,10 +142,8 @@ export const TemplateEmbedPageView: FC<{
142
<Box
143
display="flex"
144
height={{
145
- // 80px is the vertical padding of the content area 36px is from
146
- // 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
+ // 80px for padding, 36px is for the status bar. We want to use `vh`
+ // so that it will be relative to the screen and not the parent layout.
149
height: "calc(100vh - (80px + 36px))",
150
top: 40,
151
position: "sticky",
0 commit comments