Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: styles issue on home page for Safari 17 #1328

Merged
merged 1 commit into from
Oct 15, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions src/components/home/Contracts/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ export const Contracts = () => {
gap="xl"
columnsPhone="minmax(0, 1fr)"
columnsTablet="minmax(0, 1fr)"
style={{ flexGrow: 1 }}
style={{ height: '88%' }}
>
<Flex stack justify="space-between">
<Flex stack gap="m">
Expand Down Expand Up @@ -119,7 +119,7 @@ export const Contracts = () => {
</Flex>

<Tabs.Root value={language}>
<Flex stack justify="space-between" style={{ flexGrow: 1 }}>
<Flex stack justify="space-between" style={{ height: '100%' }}>
<Tabs.Content value="js">
<Title> One Command Setup </Title>
<Code code={`npx create-near-app@latest`} language="bash" />
Expand Down
5 changes: 3 additions & 2 deletions src/components/home/DecentralizedApps/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,6 +67,7 @@ const Carousel = styled.div`
const WalletImg = styled(Image)`
margin: 0 2px;
height: 40px;
width: 40px;
border-radius: 4px;
`;

Expand All @@ -80,7 +81,7 @@ export const DecentralizedApps = () => {
gapTablet="xl"
columnsPhone="minmax(0, 1fr)"
columnsTablet="minmax(0, 1fr)"
style={{ flex: 1 }}
style={{ height: '88%' }}
>
<Flex stack justify="space-between">
<Flex stack gap="m">
Expand All @@ -97,7 +98,7 @@ export const DecentralizedApps = () => {
</Flex>
</Flex>

<Flex stack gap="m" justify="space-between" style={{ flexGrow: 1 }}>
<Flex stack gap="m" justify="space-between" style={{ height: '100%' }}>
<Flex stack>
<Title> NEAR React App </Title>
<Code code={ReactApp} height={450} language="ts" />
Expand Down