Show comment boxes for all annotations at the clicked point

This commit is contained in:
Amaia Castro
2017-02-24 13:43:32 +01:00
parent 83e4c2bd03
commit c7eaadb4b2
9 changed files with 137 additions and 116 deletions

View File

@@ -827,14 +827,18 @@ $epigraph-line-height: rem-calc(22);
display: none;
}
#comments-box {
position: absolute;
top: 230px;
}
.comment-box {
width: 375px;
padding: 1rem;
background: #F9F9F9;
border: 1px solid $border;
display: block;
position: absolute;
top: 230px;
margin-bottom: 2rem;
.button {
font-size: $small-font-size;
@@ -986,14 +990,6 @@ $epigraph-line-height: rem-calc(22);
}
}
.comment-box:nth-child(4) {
top: 838px;
}
.comment-box:nth-child(5) {
top: 2035px;
}
.draft-panel {
background: #E5E5E5;
border-left: 1px solid #D4D4D4;