Skip to content

Commit a7a0690

Browse files
authored
Merge pull request #16 from polarityio/Update-for-5.3.x-web
Update for 5.3.x web where search entries were not at the top of the search area.
2 parents 860f2d1 + cab754c commit a7a0690

File tree

4 files changed

+15
-6
lines changed

4 files changed

+15
-6
lines changed

client/dataminr.js

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -511,6 +511,14 @@ class DataminrIntegration {
511511
async initPolarityPin() {
512512
const notificationContainer = getNotificationScrollContainer();
513513
if (notificationContainer) {
514+
const hasJewelTheme =
515+
document.body &&
516+
document.body.classList &&
517+
document.body.classList.contains('dm-jewel-theme');
518+
if (!hasJewelTheme) {
519+
notificationContainer.style.height = '100%';
520+
notificationContainer.style.display = 'block';
521+
}
514522
// Add pinned polarity container div before notificationContainer
515523
let pinnedPolarityContainer = byId('polarity-pin-container');
516524
if (!pinnedPolarityContainer) {

client/styles.less

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -98,6 +98,7 @@ img {
9898
============================================ */
9999

100100
.dataminr-container {
101+
overflow-x: hidden;
101102
margin: 1px 7px 1px 8px;
102103

103104
&.dm-jewel-theme {

package-lock.json

Lines changed: 5 additions & 5 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"name": "dataminr-pulse",
3-
"version": "3.1.26",
3+
"version": "3.1.27",
44
"main": "./integration.js",
55
"private": true,
66
"dependencies": {

0 commit comments

Comments
 (0)