Skip to content

Conversation

@crisbeto
Copy link
Member

It's common for apps to set * { box-sizing: border-box; } at a global level which ends up breaking the styles of our dialog. These changes set an explicit box-sizing to ensure that it still looks consistently. This is in line with what we've done in other similar cases.

Fixes #20887.

…ured globally

It's common for apps to set `* { box-sizing: border-box; }` at a global level which ends up
breaking the styles of our dialog. These changes set an explicit `box-sizing` to ensure
that it still looks consistently. This is in line with what we've done in other similar cases.

Fixes angular#20887.
@crisbeto crisbeto added P4 A relatively minor issue that is not relevant to core functions target: patch This PR is targeted for the next patch release labels Oct 26, 2020
@crisbeto crisbeto requested a review from jelbourn as a code owner October 26, 2020 20:00
@google-cla google-cla bot added the cla: yes PR author has agreed to Google's Contributor License Agreement label Oct 26, 2020
Copy link
Member

@jelbourn jelbourn left a comment

Choose a reason for hiding this comment

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

LGTM

@jelbourn jelbourn added the action: merge The PR is ready for merge by the caretaker label Oct 28, 2020
@annieyw annieyw merged commit 43b463f into angular:master Nov 3, 2020
annieyw pushed a commit that referenced this pull request Nov 3, 2020
…ured globally (#20889)

It's common for apps to set `* { box-sizing: border-box; }` at a global level which ends up
breaking the styles of our dialog. These changes set an explicit `box-sizing` to ensure
that it still looks consistently. This is in line with what we've done in other similar cases.

Fixes #20887.

(cherry picked from commit 43b463f)
annieyw pushed a commit that referenced this pull request Nov 3, 2020
…ured globally (#20889)

It's common for apps to set `* { box-sizing: border-box; }` at a global level which ends up
breaking the styles of our dialog. These changes set an explicit `box-sizing` to ensure
that it still looks consistently. This is in line with what we've done in other similar cases.

Fixes #20887.

(cherry picked from commit 43b463f)
@angular-automatic-lock-bot
Copy link

This issue has been automatically locked due to inactivity.
Please file a new issue if you are encountering a similar or related problem.

Read more about our automatic conversation locking policy.

This action has been performed automatically by a bot.

@angular-automatic-lock-bot angular-automatic-lock-bot bot locked and limited conversation to collaborators Dec 4, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

Labels

action: merge The PR is ready for merge by the caretaker cla: yes PR author has agreed to Google's Contributor License Agreement P4 A relatively minor issue that is not relevant to core functions target: patch This PR is targeted for the next patch release

Projects

None yet

Development

Successfully merging this pull request may close these issues.

bug(mat-dialog): Height issue in mat-dialog-actions with box-sizing: border-box

3 participants