File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 77 Hide ,
88 Icon ,
99 ListItem ,
10- Show ,
1110 Text ,
1211 UnorderedList ,
1312 useToken ,
@@ -179,17 +178,15 @@ export const UseCasesLayout: React.FC<IProps> = ({
179178
180179 return (
181180 < Box position = "relative" width = "full" >
182- < Show above = { lgBp } >
183- < BannerNotification shouldShow zIndex = "sticky" >
184- < Emoji text = ":pencil:" fontSize = "2xl" me = { 4 } flexShrink = { 0 } />
185- < Text m = { 0 } >
186- { t ( "template-usecase:template-usecase-banner" ) } { " " }
187- < InlineLink href = { absoluteEditPath } >
188- { t ( "template-usecase-edit-link" ) }
189- </ InlineLink >
190- </ Text >
191- </ BannerNotification >
192- </ Show >
181+ < BannerNotification shouldShow zIndex = "sticky" hideBelow = { lgBp } >
182+ < Emoji text = ":pencil:" fontSize = "2xl" me = { 4 } flexShrink = { 0 } />
183+ < Text m = { 0 } >
184+ { t ( "template-usecase:template-usecase-banner" ) } { " " }
185+ < InlineLink href = { absoluteEditPath } >
186+ { t ( "template-usecase-edit-link" ) }
187+ </ InlineLink >
188+ </ Text >
189+ </ BannerNotification >
193190 < HeroContainer key = { frontmatter . title } >
194191 < TitleCard >
195192 < Emoji fontSize = "4rem" text = { frontmatter . emoji ! } />
@@ -233,21 +230,20 @@ export const UseCasesLayout: React.FC<IProps> = ({
233230 } }
234231 />
235232 </ HeroContainer >
236- < Show above = { lgBp } >
237- < Flex
238- as = { BaseLink }
239- to = { "#" + MAIN_CONTENT_ID }
240- bg = "ednBackground"
241- justifyContent = "center"
242- p = { 4 }
243- width = "full"
244- _hover = { {
245- bg : "background.base" ,
246- } }
247- >
248- < Icon as = { MdExpandMore } fontSize = "2xl" color = "secondary" />
249- </ Flex >
250- </ Show >
233+ < Flex
234+ as = { BaseLink }
235+ to = { "#" + MAIN_CONTENT_ID }
236+ bg = "ednBackground"
237+ justifyContent = "center"
238+ p = { 4 }
239+ width = "full"
240+ _hover = { {
241+ bg : "background.base" ,
242+ } }
243+ hideBelow = { lgBp }
244+ >
245+ < Icon as = { MdExpandMore } fontSize = "2xl" color = "secondary" />
246+ </ Flex >
251247 < Page >
252248 { /* TODO: Switch to `above="lg"` after completion of Chakra Migration */ }
253249 < LeftNavBar
You can’t perform that action at this time.
0 commit comments