Skip to content

Conversation

@crisbeto
Copy link
Member

Currently we use two different approaches to align the start and end parts of the date range. The start is absolutely-positioned while the end is relative which ends up misaligning on some browsers and typography configurations.

These changes make both positioned absolutely since some browsers don't handle line-height on inputs reliably.

Fixes #25955.

Currently we use two different approaches to align the start and end parts of the date range. The start is absolutely-positioned while the end is `relative` which ends up misaligning on some browsers and typography configurations.

These changes make both positioned absolutely since some browsers don't handle `line-height` on inputs reliably.

Fixes angular#25955.
@crisbeto crisbeto added P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent target: rc This PR is targeted for the next release-candidate labels Nov 14, 2022
Copy link
Contributor

@mmalerba mmalerba left a comment

Choose a reason for hiding this comment

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

LGTM

@crisbeto crisbeto added the action: merge The PR is ready for merge by the caretaker label Nov 14, 2022
@crisbeto crisbeto self-assigned this Nov 14, 2022
Copy link
Contributor

@zarend zarend left a comment

Choose a reason for hiding this comment

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

LGTM

@crisbeto crisbeto added target: patch This PR is targeted for the next patch release and removed target: rc This PR is targeted for the next release-candidate labels Nov 16, 2022
@crisbeto crisbeto merged commit 7d268b5 into angular:main Nov 16, 2022
crisbeto added a commit that referenced this pull request Nov 16, 2022
#25967)

Currently we use two different approaches to align the start and end parts of the date range. The start is absolutely-positioned while the end is `relative` which ends up misaligning on some browsers and typography configurations.

These changes make both positioned absolutely since some browsers don't handle `line-height` on inputs reliably.

Fixes #25955.

(cherry picked from commit 7d268b5)
@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 17, 2022
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 P3 An issue that is relevant to core functions, but does not impede progress. Important, but not urgent 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(MatDatepickerModule): Allignment issue on Firefox and Safari

3 participants