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

fixes gap between Github & View Docs Button on smaller screens (#3008) #3263

Open
wants to merge 2 commits into
base: master
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from 1 commit
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: 1 addition & 1 deletion next-env.d.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,4 +2,4 @@
/// <reference types="next/image-types/global" />

// NOTE: This file should not be edited
// see https://nextjs.org/docs/basic-features/typescript for more information.
// see https://nextjs.org/docs/pages/building-your-application/configuring/typescript for more information.
6 changes: 3 additions & 3 deletions pages/tools/generator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ import Paragraph from '../../components/typography/Paragraph';
*/
function renderButtons(): JSX.Element {
return (
<div className='mt-8'>
<div className='mt-8 space-y-5'>
{/* <Button
text="Learn more"
href="/docs/tools/generator"
Expand All @@ -26,13 +26,13 @@ function renderButtons(): JSX.Element {
/> */}
<GithubButton
text='View on Github'
className='w-full sm:w-auto'
className='w-full sm:w-fit'
href='https://www.github.com/asyncapi/generator'
/>
<Button
text='View Docs'
href='/docs/tools/generator'
className='ml-2 mt-2 block w-full sm:w-auto md:mt-0 md:inline-block'
className='md:ml-2 mt-2 block w-fit md:mt-0 md:inline-block'
/>
</div>
);
Expand Down
Loading