Skip to content

Use min() for modal top position #2523

Closed

Description

@benjaminleonard

On taller screens the modal seems like it comes down a bit far (at 50%). Also, if the height of the modal changes (with some dynamic content) at all the position of say an input will no longer be where it was previously.

We could use min() – that way we make it a fixed position at the top and then have it snap to 50% if the modal moves to a threshold.

Image

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions