@hmcts/media-viewer 2.7.17-RC.1 → 2.7.18-RC.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -5,7 +5,7 @@ mv-anno-comment {
5
5
  right: 0;
6
6
  z-index: 1;
7
7
  margin: auto;
8
- background-color: govuk-colour(white);
8
+ background-color: govuk-colour("white");
9
9
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.30), inset 0 -1px 0 0 #DDDDDD;
10
10
  padding: 13px 20px 5px 20px;
11
11
  position: absolute;
@@ -5,7 +5,7 @@ mv-participants-list {
5
5
  left: 0;
6
6
  right: 0;
7
7
  z-index: 1;
8
- background-color: govuk-colour(white);
8
+ background-color: govuk-colour("white");
9
9
  box-shadow: 0 1px 3px 0 rgba(0,0,0,0.30), inset 0 -1px 0 0 #DDDDDD;
10
10
  padding: 10px 20px 5px 20px;
11
11
  margin: 5px 5px 20px 5px;
@@ -6613,6 +6613,13 @@
6613
6613
  */
6614
6614
  function () {
6615
6615
  this.addOrEditCommentEvent.emit();
6616
+ setTimeout(( /**
6617
+ * @return {?}
6618
+ */function () {
6619
+ if (!location.hash) {
6620
+ document.getElementById('viewerContainer').scrollBy(0, 1);
6621
+ }
6622
+ }), 10);
6616
6623
  };
6617
6624
  /**
6618
6625
  * @return {?}