Skip to content

Conversation

@JammingBen
Copy link
Contributor

The [&_svg]:h-5.5! on the ResourceIcon component 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

@JammingBen JammingBen self-assigned this Nov 3, 2025
Copilot AI review requested due to automatic review settings November 3, 2025 13:15
Copy link
Contributor

Copilot AI left a 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] with hidden class 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.

@JammingBen JammingBen force-pushed the fix/bottom-drawer-new-file-styling branch 2 times, most recently from da6743c to 5bd6c04 Compare November 3, 2025 13:54
@JammingBen JammingBen force-pushed the fix/bottom-drawer-new-file-styling branch from 5bd6c04 to e24d1b2 Compare November 3, 2025 14:01
@JammingBen JammingBen merged commit 14b4edc into main Nov 5, 2025
28 checks passed
@JammingBen JammingBen deleted the fix/bottom-drawer-new-file-styling branch November 5, 2025 05:31
@openclouders openclouders mentioned this pull request Nov 5, 2025
1 task
openclouders pushed a commit that referenced this pull request Nov 5, 2025
…-styling

fix: bottom drawer 'New'-menus appearance
@JammingBen
Copy link
Contributor Author

💚 All backports created successfully

Status Branch Result
stable-4.2

Questions ?

Please refer to the Backport tool documentation

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

"New" context menu in bottom drawer looks off

3 participants