fix: use inline-flex instead of flex in Badge base class#1662
fix: use inline-flex instead of flex in Badge base class#1662zhengshui wants to merge 1 commit intothemesberg:mainfrom
Conversation
Badge is an inline component, but was using flex which caused it to expand to full width when placed inside a normal div. Changed to inline-flex to maintain proper inline behavior.
|
|
@zhengshui is attempting to deploy a commit to the Bergside Team on Vercel. A member of the Team first needs to authorize it. |
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: defaults Review profile: CHILL Plan: Pro Run ID: 📒 Files selected for processing (1)
📝 WalkthroughWalkthroughThe Badge component's root element display property is updated from Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Poem
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ Finishing Touches🧪 Generate unit tests (beta)
📝 Coding Plan
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment Tip You can get early access to new features in CodeRabbit.Enable the |
Summary
Fixed issue #1614: Badge component was using
flexas the base display class, which caused it to expand to full width when placed inside a normal div. Changed toinline-flexto maintain proper inline behavior.Changes
flextoinline-flexin the Badge theme base classVerification
Related Issue
Closes #1614
Summary by CodeRabbit