Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(float-button): correct border-radius for grouped and standalone buttons #8121

Open
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

dariasavinova
Copy link

@dariasavinova dariasavinova commented Apr 10, 2025

Fixes #8117

This PR fixes incorrect border-radius in the FloatButton component.

Previously, standalone buttons with shape="square" were affected by :last-child logic, which caused layout issues.
This logic (:first-child, :last-child, separators) is now applied only to grouped buttons inside .ant-float-btn-shadow.

Now it works as expected.

float-button

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

悬浮按钮组开启菜单模式后、同时设置shape="square"方形,展开按钮样式错误
1 participant