Skip to content

Eventlog: Fix whitespace after embedded eventlog html #59

Open
@doyougnu

Description

@doyougnu

We embed the eventlog2html plots directly into the eventlog chapter which gives us nice interactive plots, but for some reason this leaves whitespace after each embedded plot.

The whitespace is not an html element and from reading the internet is related to how iframes are laid out. So this is a css issue that is induced by these webkit lines:

#scaled-frame {
  zoom: 1.00;
  -moz-transform: scale(0.75);
  -moz-transform-origin: 0 0;
  -o-transform: scale(0.75);
  -o-transform-origin: 0 0;
  -webkit-transform: scale(0.75);
  -webkit-transform-origin: 0 0;
}

in /hs-opt-handbook.github.io/_static/css/iframe.css

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't workingcss

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions