Skip to content
This repository has been archived by the owner on Aug 7, 2024. It is now read-only.

Commit

Permalink
Merge pull request #953 from eyworldwide/main
Browse files Browse the repository at this point in the history
Small bugfix
  • Loading branch information
Sway007 authored Feb 1, 2024
2 parents 24df804 + 83aaaa1 commit b05e911
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion src/components/Playground/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -118,7 +118,7 @@ export default function Playground(props: IPlayground) {
engineName={siteConfig.name}
name={props.title || ''}
url={url}
version={packages['@galacean/engine']}
version={packages['@galacean/engine'] ? packages['@galacean/engine'].version : packages['oasis-engine']?.version}
packages={packages}
/>
)}
Expand Down
2 changes: 1 addition & 1 deletion src/components/doc/components/DocDetail.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -63,7 +63,7 @@ const StyledMarkdown = styled("div", {
},
},
"& img": {
maxWidth: "calc(100% - 32px)"
maxWidth: "100%"
},
"& h1": {
margin: "20px 0",
Expand Down
5 changes: 3 additions & 2 deletions src/components/home/Production.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -52,11 +52,12 @@ export default function Production() {
return (
<Flex align="both">
<Flex align="h" css={{
paddingBottom: "$10",
padding: "$20 0 $10",
gap: "60px",
width: "1000px",
'@media (max-width: 768px)': {
flexDirection: "column"
flexDirection: "column",
padding: "$10 0"
}
}}>
<StyledCard style={{ backgroundImage: `url(https://mdn.alipayobjects.com/huamei_w1o8la/afts/img/A*cOUgSYMpo1cAAAAAAAAAAAAADsB_AQ/fmt.webp)` }}>
Expand Down
3 changes: 0 additions & 3 deletions src/components/home/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -26,10 +26,7 @@ function Home() {
})}`}
/>
</Helmet>
<Banner />
<Production />
{/* <Advantage /> */}
{/* <Editor /> */}
<Cases />
<Footer></Footer>
</>
Expand Down

0 comments on commit b05e911

Please sign in to comment.