You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Nov 6, 2020. It is now read-only.
Parity adds <script src="/parity-utils/inject.js"></script> to the HTML of dapps served on port 8545. However, this is added right at the beginning of the response, before <!DOCTYPE html>, and as such the doctype is ignored and the layout breaks (thanks @amaurymartiny for figuring it out!)
Rendering invalid HTML is called quirks mode, and modifies the CSS layout behavior. Hence all the components flying around. Axel's PR should solve that pb.
Parity adds
<script src="/parity-utils/inject.js"></script>
to the HTML of dapps served on port 8545. However, this is added right at the beginning of the response, before<!DOCTYPE html>
, and as such the doctype is ignored and the layout breaks (thanks @amaurymartiny for figuring it out!)https://github.com/paritytech/parity/blob/eec7364760e760c798e744bba7c05f2ae9dd700a/dapps/src/page/handler.rs#L101-L110
The text was updated successfully, but these errors were encountered: