• Robert Knight's avatar
    Use a custom HTML tag for the notebook's outermost element · 4fadfe13
    Robert Knight authored
    Using a generic `<div>` can result in the notebook being positioned
    incorrectly or otherwise receiving undesirable styling on pages with
    very generic selectors. For example https://example.com.
    
    Using a custom tag name reduces the risk and we already do this for
    various other UI elements in the annotator part of the app.
    
    We can protect the contents of the outermost element using Shadow DOM,
    but the outermost element itself will always be subject to the page's
    styles.
    4fadfe13
Name
Last commit
Last update
..
annotator Loading commit data...
boot Loading commit data...
images/icons Loading commit data...
shared Loading commit data...
sidebar Loading commit data...
styles Loading commit data...
test-util Loading commit data...
types Loading commit data...
.eslintrc Loading commit data...
karma.config.js Loading commit data...
tsconfig.json Loading commit data...