Skip to content

fix: use full width search inputs on mobile screens - #3474

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/mobile-full-width-search
Sep 29, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/mobile-full-width-search

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Sep 28, 2026 •

Copy link
Copy Markdown
Member

Description

On mobile screens, the search inputs in list views kept their fixed desktop width (w-3xs). Where filters were present, the input got squeezed next to them. This PR makes these search inputs span the full width on mobile, and keeps the existing width from the sm breakpoint up.

  • Search inputs use w-full sm:w-3xs in Files (Spaces, Trash, Shared with me, Shared with others, Shared via link), Admin settings (Users, Groups, Spaces, Extensions) and the App Store (w-full sm:w-auto)
  • Rows that combine filters and search (Shared with me, Shared with others, Users) now wrap, so the search input moves to its own line below the filters on mobile
  • The "Learn about spaces" hint on the Spaces page is hidden on mobile to free up space

Screenshots (Admin settings > Users, 390px viewport)

Before After
before after

Related Issue

  • Fixes <issue_link>

How Has This Been Tested?

  • test environment: local dev setup (Vite dev server + OpenCloud backend via docker-compose), Chromium with a 390x844 mobile viewport
  • test case 1: Admin settings > Users on mobile, the search input spans the full width below the Groups/Roles filters
  • test case 2: widths from the sm breakpoint up are unchanged (only w-full is added below sm)
  • test case 3: unit tests for the affected views pass (snapshots updated for the new classes)

Types of changes

  • Bugfix
  • Enhancement (a change that doesn't break existing code or deployments)
  • Breaking change (a modification that affects current functionality)
  • Technical debt (addressing code that needs refactoring or improvements)
  • Tests (adding or improving tests)
  • Documentation (updates or additions to documentation)
  • Maintenance (like dependency updates or tooling adjustments)

@tammi-23 tammi-23 left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

👍

@AlexAndBear
AlexAndBear merged commit 6b4fd79 into main Sep 29, 2026
32 checks passed
@AlexAndBear
AlexAndBear deleted the fix/mobile-full-width-search branch September 29, 2026 13:57
@openclouders openclouders mentioned this pull request Sep 29, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants