Skip to content

Commit b7aee6c

Browse files
Update site/src/pages/TemplatePage/TemplateEmbedPage/TemplateEmbedPage.tsx
Co-authored-by: Kayla Washburn <mckayla@hey.com>
1 parent f994197 commit b7aee6c

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

site/src/pages/TemplatePage/TemplateEmbedPage/TemplateEmbedPage.tsx

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -142,10 +142,8 @@ export const TemplateEmbedPageView: FC<{
142142
<Box
143143
display="flex"
144144
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
145+
// 80px for padding, 36px is for the status bar. We want to use `vh`
146+
// so that it will be relative to the screen and not the parent layout.
149147
height: "calc(100vh - (80px + 36px))",
150148
top: 40,
151149
position: "sticky",

0 commit comments

Comments
 (0)