[Shop] Image/File Uploud Buttons Size Fix#18286
Conversation
WalkthroughA new CSS rule was added targeting the Changes
Estimated code review effort🎯 1 (Trivial) | ⏱️ ~2 minutes Suggested labels
Suggested reviewers
Poem
Note ⚡️ Unit Test Generation is now available in beta!Learn more here, or try it out under "Finishing Touches" below. 📜 Recent review detailsConfiguration used: CodeRabbit UI 📒 Files selected for processing (1)
🚧 Files skipped from review as they are similar to previous changes (1)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
✨ Finishing Touches🧪 Generate unit tests
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. 🪧 TipsChatThere are 3 ways to chat with CodeRabbit:
SupportNeed help? Create a ticket on our support page for assistance with any issues or questions. 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 using PR comments)
Other keywords and placeholders
CodeRabbit Configuration File (
|
❌ Preview Environment deleted from BunnyshellAvailable commands:
|
There was a problem hiding this comment.
Actionable comments posted: 0
🧹 Nitpick comments (1)
src/Sylius/Bundle/AdminBundle/Resources/assets/styles/_form.scss (1)
58-64: Nest the override to keep related rules togetherPlacing the file-specific override immediately after – but visually separate from – the generic
.form-controlrule makes maintenance harder.
Consider nesting the attribute selector inside the existing block so future refactors don’t miss the coupling.-.form-control[type="file"] { - min-height: unset; -} +.form-control { + // File inputs should keep their native height + &[type="file"] { + min-height: unset; + } +}This keeps all
.form-controlheight logic in one place without changing specificity or output.
📜 Review details
Configuration used: CodeRabbit UI
Review profile: CHILL
Plan: Pro
📒 Files selected for processing (1)
src/Sylius/Bundle/AdminBundle/Resources/assets/styles/_form.scss(1 hunks)
⏰ Context from checks skipped due to timeout of 90000ms. You can increase the timeout in your CodeRabbit configuration to a maximum of 15 minutes (900000ms). (3)
- GitHub Check: Static checks / PHP 8.4, Symfony ^7.2
- GitHub Check: Static checks / PHP 8.3, Symfony ^7.2
- GitHub Check: Static checks / PHP 8.2, Symfony ^6.4
🔇 Additional comments (1)
src/Sylius/Bundle/AdminBundle/Resources/assets/styles/_form.scss (1)
62-64: Verifyunsetmeets browser support matrix
min-height: unsetis fine for evergreen browsers, but older Safari (< 14) and legacy Edge versions treatunsetinconsistently. If those are still in your supported matrix, fallback toinitialorauto, or add a comment confirming they’re out of scope.
| Q | A |-----------------|----- | Branch? | 2.1 | Bug fix? | no | New feature? | no | BC breaks? | no | Deprecations? | no | Related tickets | – | License | MIT ### Summary Fix four obvious typos in `CHANGELOG-2.1.md`: - `Uploud` → `Upload` (v2.1.5, PR #18286) - `confflict` → `conflict` (v2.1.5, PR #18302) - `nessecary` → `necessary` (v2.1.5, PR #18342) - `lables` → `labels` (v2.1.2, PR #18180) ### Notes - Minimal diffs only; no punctuation/style changes. - Code, identifiers, and formatting are untouched. <!-- This is an auto-generated comment: release notes by coderabbit.ai --> ## Summary by CodeRabbit * **Documentation** * Corrected typos in changelog entries for improved readability and clarity. <!-- end of auto-generated comment: release notes by coderabbit.ai -->
Before:

After:
>
Summary by CodeRabbit