-
Notifications
You must be signed in to change notification settings - Fork 25
fix: bottom drawer 'New'-menus appearance #1494
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
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull Request Overview
This PR updates CSS styling for improved responsive design in the file upload and creation interface. The changes focus on adding responsive breakpoints (sm:) to various CSS classes and adjusting icon sizing for mobile and desktop views.
Key Changes:
- Added responsive breakpoints (
sm:) to padding and minimum width utilities for better mobile display - Updated icon sizing to use mobile-first approach with SVG-specific height classes
- Replaced
left-[99999px]withhiddenclass for hiding file input elements
Reviewed Changes
Copilot reviewed 4 out of 4 changed files in this pull request and generated 3 comments.
| File | Description |
|---|---|
| packages/web-app-files/src/components/AppBar/CreateAndUpload.vue | Updated CSS classes with responsive breakpoints for list padding, minimum width, and icon sizing |
| packages/web-app-files/src/components/AppBar/Upload/ResourceUpload.vue | Modified icon sizing classes and changed hidden input positioning from left-[99999px] to hidden |
| packages/web-app-files/tests/unit/components/AppBar/snapshots/CreateAndUpload.spec.ts.snap | Updated snapshot to reflect CSS class changes in CreateAndUpload component |
| packages/web-app-files/tests/unit/components/AppBar/Upload/snapshots/ResourceUpload.spec.ts.snap | Updated snapshot to reflect CSS class changes in ResourceUpload component |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
packages/web-app-files/src/components/AppBar/Upload/ResourceUpload.vue
Outdated
Show resolved
Hide resolved
da6743c to
5bd6c04
Compare
5bd6c04 to
e24d1b2
Compare
…-styling fix: bottom drawer 'New'-menus appearance
💚 All backports created successfully
Questions ?Please refer to the Backport tool documentation |
The
[&_svg]:h-5.5!on theResourceIconcomponent are unfortunately necessary for the icons to appear in their correct size in the "New"-menu. The sizing of this component is a complete mess, should be fixed at some point...fixes #1446