Commit c0134dc0 authored by Randall Leeds's avatar Randall Leeds

fix excerpt dimensions

parent 1114acdf
...@@ -181,10 +181,12 @@ class Hypothesis extends Annotator ...@@ -181,10 +181,12 @@ class Hypothesis extends Annotator
this.showViewer([a], true) this.showViewer([a], true)
else else
excerpts.enter() excerpts.enter()
.insert('li', '.hyp-annotation').classed('hyp-widget', true) .insert('li', '.hyp-annotation')
.append('div').classed('hyp-excerpt', true) .classed('hyp-widget', true)
.classed('hyp-excerpt', true)
.append('div')
excerpts.exit().remove() excerpts.exit().remove()
excerpts.select('div.hyp-excerpt').text((d) -> d.message.annotation.quote) excerpts.select('div').text((d) -> d.message.annotation.quote)
loop loop
context = context.select('.annotator-listing') context = context.select('.annotator-listing')
......
...@@ -432,9 +432,12 @@ $threadexp-width: 1em; ...@@ -432,9 +432,12 @@ $threadexp-width: 1em;
//EXCERPT //EXCERPT
.hyp-excerpt { .hyp-excerpt {
font-family: serif; div {
font-size: 1.1em; font-family: serif;
color: black; } font-size: 1.1em;
color: black;
}
}
//ANNOTATION DETAIL //ANNOTATION DETAIL
.hyp-reply { .hyp-reply {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment