Skip to content

fix: improve media controls layout stability - #3145

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/preview-media-controls-layout
Aug 18, 2026
Merged

fix: improve media controls layout stability#3145
AlexAndBear merged 1 commit into
mainfrom
fix/preview-media-controls-layout

Conversation

@AlexAndBear

Copy link
Copy Markdown
Member

Summary

Fixes layout stability issues in preview media controls:

  • Adds minimum width (60px) to file counter to prevent prev/next buttons from jumping when navigating between files
  • Removes w-lg class from bubble menu to prevent line breaks when displaying 10+ files

Related Issue

N/A (bug fix for existing media controls)

How Has This Been Tested

  • Test environment: Local development
  • Test cases:
    • Navigate between files with single-digit counts (1 of 5)
    • Navigate between files with double-digit counts (10 of 25)
    • Verify buttons don't shift position during navigation
    • Verify no line breaks occur with 10+ files
    • Test on mobile and desktop viewports

Types of changes

  • Bugfix (non-breaking change which fixes an issue)
  • Enhancement (improving an existing functionality)
  • Breaking change (fix or feature that would cause existing functionality to not work as expected)
  • Technical debt (reducing tech debt, not directly a bug fix or adding a feature)
  • Tests (fix or improvement of tests)
  • Documentation
  • Maintenance

- Add minimum width to file counter to prevent button jumping
- Remove w-lg class to prevent layout issues with 10+ files

Fixes layout issues where navigation buttons would shift position
when navigating between files due to changing counter width, and
prevents line breaks when displaying many files.
@AlexAndBear AlexAndBear self-assigned this Aug 17, 2026
@github-project-automation github-project-automation Bot moved this to Qualification in OpenCloud Team Board Aug 17, 2026
@AlexAndBear AlexAndBear moved this from Qualification to In Progress in OpenCloud Team Board Aug 17, 2026
@AlexAndBear
AlexAndBear merged commit 2c91fa9 into main Aug 18, 2026
31 of 32 checks passed
@AlexAndBear
AlexAndBear deleted the fix/preview-media-controls-layout branch August 18, 2026 06:23
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenCloud Team Board Aug 18, 2026
@openclouders openclouders mentioned this pull request Aug 18, 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