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: google font import and allignment of button #391

Conversation

catosaurusrex2003
Copy link
Contributor

Before google fonts were not working as expected because they were not imported at the top most line of our css. And this was causing CSS Parsing Order issue.

also fixed allignment of text inside button

Changes in FIREFOX:
image
👆 Before

image
👆 After

Changes in CHROME:
image
👆 Before

image
👆 After

I might not have been able to explain it correctly in the following issue #389
But i hope the code in the PR makes sense.

Fixes issue : #389

Copy link

@github-actions github-actions bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Welcome to AsyncAPI. Thanks a lot for creating your first pull request. Please check out our contributors guide useful for opening a pull request.
Keep in mind there are also other channels you can use to interact with AsyncAPI community. For more details check out this issue.

Copy link

netlify bot commented Sep 15, 2024

Deploy Preview for peaceful-ramanujan-288045 ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 5c36252
🔍 Latest deploy log https://app.netlify.com/sites/peaceful-ramanujan-288045/deploys/670637b3f830730008bb2816
😎 Deploy Preview https://deploy-preview-391--peaceful-ramanujan-288045.netlify.app
📱 Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.

@AceTheCreator
Copy link
Member

Also the list of venues in the subnav is misaligned

@catosaurusrex2003
Copy link
Contributor Author

ok.
i will check for all misalignment issues and fix it in this PR itself.

@catosaurusrex2003
Copy link
Contributor Author

catosaurusrex2003 commented Sep 16, 2024

I have also noted this minute thing
image
look at the orientation of the + sign of the first item in the image above 👆. I think it should be X but it is slightly awkward.
image
shouldnt it be like this 👆 ? or is this intended behaviour.

@catosaurusrex2003
Copy link
Contributor Author

catosaurusrex2003 commented Sep 20, 2024

/ptal

@asyncapi-bot
Copy link
Contributor

@AceTheCreator @thulieblack @Mayaleeeee Please take a look at this PR. Thanks! 👋

@ashmit-coder
Copy link
Contributor

I have also noted this minute thing image look at the orientation of the + sign of the first item in the image above 👆. I think it should be X but it is slightly awkward. image shouldnt it be like this 👆 ? or is this intended behaviour.

It does look better that way @catosaurusrex2003 go ahead with that change!

Copy link
Contributor

@ashmit-coder ashmit-coder left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Hey @catosaurusrex2003 , you seem to have removed the hover effect from the navbar.

Expected:
Screenshot from 2024-09-27 17-22-58

Current:
Screenshot from 2024-09-27 17-22-04

@catosaurusrex2003
Copy link
Contributor Author

Nice observation @ashmit-coder
Fixed it 👍

@ashmit-coder
Copy link
Contributor

Hey @AceTheCreator are we moving ahead with this pr?

if yes then @catosaurusrex2003 could you please update the branch

@catosaurusrex2003 catosaurusrex2003 force-pushed the fix/google-font-import-and-button-allignment branch from caf18b7 to 3e3aa79 Compare October 4, 2024 17:29
@AceTheCreator
Copy link
Member

waiting for your approval @ashmit-coder :)

@ashmit-coder
Copy link
Contributor

Hey @catosaurusrex2003 , you seem to have removed the hover effect from the navbar.

Expected: Screenshot from 2024-09-27 17-22-58

Current: Screenshot from 2024-09-27 17-22-04

@catosaurusrex2003 could you make the Helsinki Finlad. Appear on the same line as it was earlier

@catosaurusrex2003
Copy link
Contributor Author

@ashmit-coder @AceTheCreator done

@ashmit-coder
Copy link
Contributor

@ashmit-coder @AceTheCreator done

Please resolve the merge conflicts.

@ashmit-coder
Copy link
Contributor

Hey @catosaurusrex2003

image

fix this alignment issue in the Paris page

@ashmit-coder
Copy link
Contributor

image

This as well.

@ashmit-coder
Copy link
Contributor

image

The ticket card also has some issues, do look into it.

@catosaurusrex2003
Copy link
Contributor Author

I went through the whole website and now i dont think there are any discrepancies.

If any, pls let me know i will resolve them.

@ashmit-coder

@ashmit-coder
Copy link
Contributor

Hey @catosaurusrex2003 could you check so for mobile view as well?

@catosaurusrex2003
Copy link
Contributor Author

done @ashmit-coder
i hope there isnt anything i missed out again 😆

Copy link
Member

@AceTheCreator AceTheCreator left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM! 🚀

@@ -6,7 +6,7 @@ function Button({className, children, overlay, onClick, type, disabled}) {
disabled={disabled}
type={type}
onClick={onClick}
className={`${overlay ? '' : 'gradient-bg'} text-white h-[54px] rounded-md p-[8px] ${className}`}
className={`${overlay ? '' : 'gradient-bg'} flex items-center justify-center text-white h-[54px] rounded-md p-[8px] ${className}`}
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I think this is causing an alignment issue in the button(check the ticket button section)

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

i am not able to locate any alignment issue.
whats the browser u using? and if possible can you attach the screenshot.

@AceTheCreator
Copy link
Member

CC @ashmit-coder

@ashmit-coder
Copy link
Contributor

CC @ashmit-coder

LGTM!

@AceTheCreator AceTheCreator merged commit cc5c6aa into asyncapi:master Oct 10, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants