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: updated CSS for tools/generator page buttons #3294

Merged
merged 3 commits into from
Oct 18, 2024
Merged
Changes from 2 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
10 changes: 3 additions & 7 deletions pages/tools/generator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -18,7 +18,7 @@ import Paragraph from '../../components/typography/Paragraph';
*/
function renderButtons(): JSX.Element {
return (
<div className='mt-8'>
<div className='mt-8 flex flex-wrap gap-4'>
{/* <Button
text="Learn more"
href="/docs/tools/generator"
Expand All @@ -28,14 +28,10 @@ function renderButtons(): JSX.Element {
/> */}
<GithubButton
text='View on Github'
className='w-full sm:w-auto'
className='w-full text-center sm:w-fit sm:text-left'
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'
/>
<Button text='View Docs' href='/docs/tools/generator' className='w-full text-center sm:w-fit sm:text-left' />
</div>
);
}
Expand Down
Loading