Skip to content

Remove position: relative from body tag in sandbox #303

Closed

Description

@CompuIves

We add a position: relative to the body tag to measure its size. This pollutes the sandbox and it's better if we find another way to do this.

Activity

  1. tlrmlr commented on Apr 26, 2018

    @tlrmlr

    Would love to see this changed!

  2. CompuIves commented on Apr 29, 2018

    @CompuIves
    ContributorAuthor

    Yes absolutely, I think we should just remove the whole size listener from the sandbox (which adds the relative).

    So we use the size listener to measure the size of the sandbox for eg. auto sizing Medium posts, however it seems like it pollutes the sandbox. I'm curious if there's a way to find the size of the content without any body changes.

  3. CompuIves commented on May 20, 2018

    @CompuIves
    ContributorAuthor

    Fixed in master, will be deployed either this evening or tomorrow morning.

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

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions