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(docs): ui alignment fixes #803

Merged
merged 4 commits into from
Aug 22, 2023
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
2 changes: 0 additions & 2 deletions packages/apps/docs/src/components/Layout/Landing/Landing.tsx
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
import {
Article,
articleClass,
contentClass,
contentClassVariants,
Expand Down Expand Up @@ -34,7 +33,6 @@ export const Landing: FC<IPageProps> = ({
>
<article className={articleClass}>
{children}

<NotFound />
</article>
</div>
Expand Down
2 changes: 0 additions & 2 deletions packages/apps/docs/src/pages/docs/blogchain/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,7 @@ import { Stack } from '@kadena/react-ui';
import { InfiniteScroll } from '@/components';
import { BlogItem, BlogList } from '@/components/Blog';
import {
Article,
articleClass,
Content,
contentClass,
contentClassVariants,
TitleHeader,
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/docs/src/pages/docs/kadena/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ const Home: FC = () => {
</Text>
</div>

<Stack wrap="wrap" spacing="$2xs" width="100%">
<Stack wrap="wrap" width="100%">
<BrowseSection title="General" className={browseSectionWrapper}>
<Link href="/docs/kadena/overview">Overview of Kadena</Link>
<Link href="/docs/kadena/whitepapers">Whitepapers</Link>
Expand Down
2 changes: 1 addition & 1 deletion packages/apps/docs/src/pages/index.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ const Home: FC<IProps> = ({ popularPages }) => {
>
<article className={articleClass}>
<Box marginBottom="$10">
<Stack wrap="wrap" spacing="$2xs">
<Stack wrap="wrap">
<BrowseSection title="General" className={browseSectionWrapper}>
<Link href="/docs/kadena">Overview of Kadena</Link>
<Link href="/docs/kadena/kda/manage-kda">Manage your KDA</Link>
Expand Down
12 changes: 4 additions & 8 deletions packages/apps/docs/src/styles/index.css.ts
Original file line number Diff line number Diff line change
@@ -1,18 +1,14 @@
import { breakpoints, sprinkles } from '@kadena/react-ui/theme';
import { breakpoints, vars } from '@kadena/react-ui/theme';

import { style } from '@vanilla-extract/css';

const browseSectionWrapper = style([
sprinkles({
gap: '$4',
paddingY: 0,
paddingX: '$4',
}),
{
flexBasis: '48%',
flexBasis: '50%',
rowGap: vars.sizes.$4,
'@media': {
[breakpoints.md]: {
flexBasis: '30%',
flexBasis: '33%',
},
},
},
Expand Down