Skip to content

feat(design-system): round buttons inside the bubble menu - #3456

Merged
AlexAndBear merged 1 commit into
mainfrom
enhancement/bubble-menu-rounded-buttons
Sep 25, 2026
Merged

AlexAndBear merged 1 commit into
mainfrom
enhancement/bubble-menu-rounded-buttons

Conversation

@AlexAndBear

@AlexAndBear AlexAndBear commented Sep 25, 2026 •

Copy link
Copy Markdown
Member

Description

Buttons inside OcBubbleMenu used the default rounded-sm border radius, so their hover, active and focus states showed square-ish backgrounds inside the pill-shaped menu. They now use a fully rounded border radius. Since the hover, active and focus states of OcButton are rendered on the button itself, they now follow the pill shape of the bubble menu, which creates a softer visual transition.

The rule is scoped to .oc-bubble-menu .oc-button, so buttons outside the bubble menu are unaffected. All consumers (preview app media controls, EPUB reader toolbar, design system docs) pick up the change automatically.

Related Issue

  • Fixes <issue_link>

How Has This Been Tested?

  • test environment: pending manual verification (formatting checked with Prettier)
  • test case 1: hover/focus buttons in the preview app media controls, hover background is rounded
  • test case 2: hover/focus buttons in the EPUB reader toolbar, hover background is rounded (pill shape for the font size reset button)
  • test case 3: buttons outside the bubble menu keep their default border radius

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)

@AlexAndBear AlexAndBear self-assigned this Sep 25, 2026
@AlexAndBear
AlexAndBear force-pushed the enhancement/bubble-menu-rounded-buttons branch from e9be101 to 7483221 Compare September 25, 2026 09:00
@AlexAndBear AlexAndBear changed the title feat(design-system): round buttons inside the bubble menu fix(design-system): round buttons inside the bubble menu Sep 25, 2026
@github-project-automation github-project-automation Bot moved this to Qualification in OpenCloud Team Board Sep 25, 2026
@AlexAndBear
AlexAndBear force-pushed the enhancement/bubble-menu-rounded-buttons branch from 7483221 to a6e7f21 Compare September 25, 2026 09:13
@AlexAndBear
AlexAndBear merged commit 5845928 into main Sep 25, 2026
31 checks passed
@AlexAndBear
AlexAndBear deleted the enhancement/bubble-menu-rounded-buttons branch September 25, 2026 11:44
@github-project-automation github-project-automation Bot moved this from In Progress to Done in OpenCloud Team Board Sep 25, 2026
@openclouders openclouders mentioned this pull request Sep 25, 2026
1 task
@AlexAndBear AlexAndBear changed the title fix(design-system): round buttons inside the bubble menu feat(design-system): round buttons inside the bubble menu Sep 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

Status: Done

Development

Successfully merging this pull request may close these issues.

2 participants