• Robert Knight's avatar
    Stop loading annotator.css bundle into host page · e2547867
    Robert Knight authored
    With the exception of highlight styles, the styles in annotator.css are
    now only used by UI elements contained within shadow roots. As a result,
    we can stop loading annotator.css as a stylesheet into the host page,
    preventing these styles from affecting the host page.
    
     - Stop loading annotator.css into the host page as a stylesheet.
       Instead add it as a preload link instead, ready for use by shadow
       roots.
    
     - Move highlights styles into a separate bundle and load that in the
       host page.
    
    Fixes https://github.com/hypothesis/client/issues/2979
    e2547867
Name
Last commit
Last update
..
annotator Loading commit data...
mixins Loading commit data...
shared/variables Loading commit data...
sidebar Loading commit data...
ui-playground Loading commit data...
patterns.scss Loading commit data...
reset.scss Loading commit data...
util.scss Loading commit data...
variables.scss Loading commit data...