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: filter section is overflowing for small screen in dashboard sect… #1690

Merged
merged 7 commits into from
Sep 17, 2023

Conversation

Tusharjain123
Copy link
Contributor

…ion #1564

Description
This PR resolved the error of overflowing for a small screen.

Related issue(s)

Resolve #1564

@netlify
Copy link

netlify bot commented May 18, 2023

Deploy Preview for asyncapi-website ready!

Built without sensitive environment variables

Name Link
🔨 Latest commit 16ffb39
🔍 Latest deploy log https://app.netlify.com/sites/asyncapi-website/deploys/6506f6e931fc6f0008079b24
😎 Deploy Preview https://deploy-preview-1690--asyncapi-website.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.

@github-actions
Copy link

github-actions bot commented May 18, 2023

⚡️ Lighthouse report for the changes in this PR:

Category Score
🔴 Performance 27
🟢 Accessibility 98
🟢 Best practices 100
🟢 SEO 100
🔴 PWA 30

Lighthouse ran on https://deploy-preview-1690--asyncapi-website.netlify.app/

}}
>
<div className="bg-white w-96 shadow-xl rounded">
<div className="bg-white shadow-xl rounded" style={{width: "19rem"}}>
Copy link
Member

Choose a reason for hiding this comment

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

We don't use style tag to add CSS inside tags. Kindly use tailwind classes to add the width.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

Ok

}}
>
<div className="bg-white w-96 shadow-xl rounded">
<div className="bg-white shadow-xl rounded w-[19rem]">
Copy link
Member

Choose a reason for hiding this comment

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

use max-width property to make it responsive, don't hardcode the width of the component in both mobile and desktop views.

Comment on lines 68 to 71
style={{
position: strategy,
top: y ?? '',
left: x ?? '',
left: x>0? x??'':"14px",
Copy link
Member

Choose a reason for hiding this comment

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

Please try to convert this style tag properties into tailwind classes, since they are easy conditional statements and can be converted into tailwind properties.

@derberg
Copy link
Member

derberg commented Jun 22, 2023

@Tusharjain123 do you plan to continue with this one?

@Tusharjain123
Copy link
Contributor Author

@Tusharjain123 do you plan to continue with this one?

Yes, I am doing it. Everything is working well if it is to be used with style tag, but converting the style property into tailwind classes is giving a problem. Specifically, the left and the right property value is not applying when using it with tailwind classes. I am just finding out the solution for it.

@Savio629
Copy link
Contributor

Savio629 commented Jul 15, 2023

LGTM
// @akshatnema

@akshatnema
Copy link
Member

@Tusharjain123 Kindly resolve the conflicts inside this PR.

@Tusharjain123
Copy link
Contributor Author

@Tusharjain123 Kindly resolve the conflicts inside this PR.

@akshatnema please take a look, I have resolved the conflicts

@akshatnema
Copy link
Member

@Tusharjain123 Add screenshots for the changes you made in UI in description of this PR.

@akshatnema
Copy link
Member

/rtm

@asyncapi-bot asyncapi-bot merged commit 2b13b27 into asyncapi:master Sep 17, 2023
13 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

filter section is overflowing for small screen in dashboard section
5 participants