Commit 3876c7df authored by Robert Knight's avatar Robert Knight

Move placeholder styles to highlights bundle

This class is used by elements created by placeholder.js in the host
page, not a shadow root.
parent a5e87ac7
...@@ -75,13 +75,6 @@ ...@@ -75,13 +75,6 @@
} }
} }
.annotator-placeholder {
opacity: 0;
position: absolute;
top: 50%;
z-index: -1;
}
// this disables the width transition for the sidebar when // this disables the width transition for the sidebar when
// it is manually resized by dragging // it is manually resized by dragging
.annotator-no-transition { .annotator-no-transition {
......
...@@ -78,3 +78,12 @@ ...@@ -78,3 +78,12 @@
} }
} }
} }
// Placeholder element to which annotations for off-screen content in PDFs
// is anchored.
.annotator-placeholder {
opacity: 0;
position: absolute;
top: 50%;
z-index: -1;
}
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