• Lyza Danger Gardner's avatar
    Apply CSS classes to both `hypothesis-highlight` and SVG rect elements · 3fa481a1
    Lyza Danger Gardner authored
    These changes apply CSS classes SVG highlight rects, which will allow
    for clustered-highlight styling.
    
    With these changes:
    
    * `hypothesis-highlight` elements always have a `hypothesis-highlight`
      CSS class, similarly to how SVG highlight rects have always had a
      `hypothesis-svg-highlight` class.
    * CSS classes passed to `highlightRange` extend instead of replace CSS
      classes on `hypothesis-highlight` elements.
    * CSS classes passed to `highlightRange` are also added to
      `hypothesis-svg-element` rects.
    3fa481a1
Name
Last commit
Last update
..
anchoring Loading commit data...
components Loading commit data...
config Loading commit data...
integrations Loading commit data...
test Loading commit data...
util Loading commit data...
.eslintrc.js Loading commit data...
adder.js Loading commit data...
annotation-counts.js Loading commit data...
bucket-bar-client.js Loading commit data...
bucket-bar.js Loading commit data...
features.js Loading commit data...
frame-observer.js Loading commit data...
guest.ts Loading commit data...
highlight-clusters.tsx Loading commit data...
highlighter.js Loading commit data...
hypothesis-injector.js Loading commit data...
icons.js Loading commit data...
index.js Loading commit data...
notebook.js Loading commit data...
range-util.js Loading commit data...
selection-observer.js Loading commit data...
sidebar-trigger.js Loading commit data...
sidebar.js Loading commit data...
toolbar.js Loading commit data...