-
Notifications
You must be signed in to change notification settings - Fork 280
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(Dropdown): default padding should be py-2
#1088
Conversation
Run & review this pull request in StackBlitz Codeflow. |
The latest updates on your projects. Learn more about Vercel for Git ↗︎
|
Looking at the preview website, I think one issue might come from this is that both the Should these also be switched to this? : -export let headerClass: string = 'py-1 overflow-hidden rounded-t-lg';
-export let footerClass: string = 'py-1 overflow-hidden rounded-b-lg';
+export let headerClass: string = 'pt-2 pb-1 overflow-hidden rounded-t-lg';
+export let footerClass: string = 'pt-1 pb-2 overflow-hidden rounded-b-lg'; ... which would allow to keep the |
Let me know if this PR is completed. |
This was never answered... |
Yes, it is a good idea to add:
Can you fix the conflicting files to align with the latest? |
@shinokada is attempting to deploy a commit to the Themesberg Team on Vercel. A member of the Team first needs to authorize it. |
WalkthroughThis update introduces a minor adjustment to the Changes
Possibly related issues
Recent Review DetailsConfiguration used: CodeRabbit UI Files selected for processing (1)
Files skipped from review due to trivial changes (1)
Thank you for using CodeRabbit. We offer it for free to the OSS community and would appreciate your support in helping us grow. If you find it useful, would you consider giving us a shout-out on your favorite social media? TipsChatThere are 3 ways to chat with CodeRabbit:
Note: Be mindful of the bot's finite context window. It's strongly recommended to break down tasks such as reading entire modules into smaller chunks. For a focused discussion, use review comments to chat about specific files and their changes, instead of using the PR comments. CodeRabbit Commands (invoked as PR comments)
Additionally, you can add CodeRabbit Configration File (
|
@shinokada , your merge overwrote mine and the padding is still |
Like, not gonna lie this whole PR was not fun at all, waiting for 5 months for a lackluster review, waiting another 2 months for an actual feedback, then a merge that completely overrides what I did, dismisses the actual review of adding proper padding to the other elements, then (not dramatically) tarnish my committer status as an author of an empty commit in a public repo. I'm not angry at all, simply disappointed. Love the design, but I think the structural issues with this library is making me want to switch. I know this message makes me seems entitled to having free support, but I hope I can make it clear that I don't, I just want to express how I felt with the usage of this library in general. Anyhow, good luck with the rest! |
📑 Description
This PR fixes a visual issue with how
Dropdown
s render their hovered items : with the defaultpy-1
, the hovered item exits the boundary of the rounded corners of the container.Switching from
py-1
topy-2
aligns with how Flowbite sets by default in their doc :Status
✅ Checks
ℹ Additional Information
Currently, the workaround is to manually add
<Dropdown class="py-2" [...]>
to every Dropdown usage. I like the default style, and I'd like to use it easily without having to create my own custom wrapper for a simple class change which should be considered an issue to begin with.Summary by CodeRabbit