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

Actions prop distorts the position of the title in the card component #10576

Closed
ridgekimani opened this Issue May 18, 2018 · 7 comments

Comments

Projects
None yet
5 participants
@ridgekimani

ridgekimani commented May 18, 2018

  • I have searched the issues of this repository and believe that this is not a duplicate.

Version

3.5.2

Environment

Browser version

Reproduction link

https://codepen.io/ridgekimani/pen/ELGKQJ?&editors=001

Steps to reproduce

Import the card and any other component
Make sure it has a title
Under actions create add an Ant Design Component rather than a React Node

What is expected?

The card title details should be in line

What is actually happening?

The position of the title is not inline with the position of the action props


It happens with most of the antd components I have interacted with

@ridgekimani ridgekimani changed the title from Actions prop node distorts the position of the title in the card component to Actions prop distorts the position of the title in the card component May 18, 2018

dengfuping added a commit that referenced this issue Jun 26, 2018

dengfuping added a commit that referenced this issue Jun 26, 2018

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Jun 29, 2018

@Oliver-U funded this issue with $2.0. Visit this issue on Issuehunt

@picodoth

This comment has been minimized.

Contributor

picodoth commented Jul 2, 2018

@ridgekimani as a temporary workaround, you can pass in entire title as a component and customize the style yourself: https://codepen.io/picodoth/pen/QxYYPo?editors=0010

@ridgekimani

This comment has been minimized.

ridgekimani commented Jul 2, 2018

Yeah, I have a workaround too @picodoth but I saw it better to be styled correctly in the ant d styling

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Jul 25, 2018

@0maxxam0 funded this issue with $15. Visit this issue on Issuehunt

afc163 added a commit that referenced this issue Sep 16, 2018

Fix the vertical alignment for the title of Card (#11036)
* fix: The title of Card should be vertically aligned, close #10576

* Update index.less
@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Sep 17, 2018

@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Sep 28, 2018

afc163 added a commit that referenced this issue Oct 26, 2018

Fix Card title overflow bug
close #12680

close #10576 in another way
@IssuehuntBot

This comment has been minimized.

IssuehuntBot commented Oct 30, 2018

@0maxxam0 cancelled funding, $15, of this issue. See it on IssueHunt

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment