Skip to content

fix: prevent truncated resource names from overflowing into adjacent elements - #3469

Merged
AlexAndBear merged 1 commit into
mainfrom
fix/sidebar-back-button-hover
Sep 28, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
fix/sidebar-back-button-hover

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Sep 27, 2026 •

Copy link
Copy Markdown
Member

Description

Before
image

After
image

For long file names, the file extension in ResourceName shrank below its content width, so its text overflowed into adjacent elements, e.g. under the "Back to Details" button in the sidebar sub panel header, whose hover background then covered the name. The extension no longer shrinks, only the base name gets truncated.

Related Issue

  • Fixes -

How Has This Been Tested?

  • test environment: local OpenCloud 8.0.0 rolling, Chrome
  • test case 1: file dfsfdsfdsfdsfdsdfsfdsdfsdfsfdsfds.ocnote, open the sharing panel in the sidebar and hover "Back to Details" → name is truncated before the button, hover no longer overlaps it

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 a21db8d into main Sep 28, 2026
32 checks passed
@AlexAndBear
AlexAndBear deleted the fix/sidebar-back-button-hover branch September 28, 2026 11:04
@openclouders openclouders mentioned this pull request Sep 28, 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