Skip to content

transform: translate(-50%, -50%); causing Text Blur #238

@mhluska

Description

@mhluska

The modal is positioned using transform: translate(-50%, -50%); but it causes elements in the modal to be blurred:

Element in modal with transform:

screenshot 2018-01-09 12 28 06

Element in modal without transform:

screenshot 2018-01-09 12 28 23

I'm on latest Chrome (Version 63.0.3239.132 (Official Build) (64-bit))

As a workaround, I modify the styles of ember-modal-overlay to use flex positioning instead:

display: flex;
align-items: center;
justify-content: center;

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions