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

Adds a border radius to modal headers #23799

Merged
merged 2 commits into from
Oct 3, 2017

Conversation

andresgalante
Copy link
Collaborator

@andresgalante andresgalante commented Sep 1, 2017

This PR fixes #23798

When a background color is added to the modal header it shows a square corner. This PR is adding border radius to it so it follows the border radius.

Should I add a section on modal documentation about styling it? How to change the color of the border, text and background with utility classes like we do on cards

What do you think?

Copy link
Member

@mdo mdo left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

There are several unrelated changes in this PR.

@andresgalante
Copy link
Collaborator Author

@mdo I am sorry I had an auto formatter on. 😞

I fixed the PR but it's still showing a strange diff, I don't know why.

@mdo mdo removed the on-hold label Oct 3, 2017
@mdo mdo merged commit b26eabf into twbs:v4-dev Oct 3, 2017
@mdo mdo mentioned this pull request Oct 3, 2017
@iwinux
Copy link

iwinux commented Nov 23, 2017

@andresgalante @mdo .modal-content already has border-radius, why should we set it on .modal-header again?

@andresgalante
Copy link
Collaborator Author

andresgalante commented Nov 23, 2017

Hi @iwinux please read this issue #23798
and the description of this PR

@tmorehouse
Copy link
Contributor

tmorehouse commented Dec 6, 2017

@andresgalante Actually a similar bug persists when using a background on modal-footer (it protrudes from the bottom rounded corners)

tmorehouse added a commit to bootstrap-vue/bootstrap-vue that referenced this pull request Dec 6, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

6 participants