@flourish/info-popup
Advanced tools
Comparing version 3.0.0 to 3.0.1
{ | ||
"name": "@flourish/info-popup", | ||
"version": "3.0.0", | ||
"version": "3.0.1", | ||
"description": "Popup with data insertion", | ||
@@ -5,0 +5,0 @@ "main": "info-popup.js", |
@@ -0,1 +1,4 @@ | ||
# 3.0.1 | ||
* Make sure popup max width gets applied | ||
# 3.0.0 | ||
@@ -2,0 +5,0 @@ * Rename addColumnNames » setColumnNames (BREAKING) |
@@ -45,3 +45,4 @@ import { color } from "d3-color"; | ||
.select(".flourish-popup-content") | ||
.style("pointer-events", "auto"); | ||
.style("pointer-events", "auto") | ||
.style("max-width", instance._state.popup_width == null ? null : instance._state.popup_width + "rem !important"); | ||
@@ -145,3 +146,2 @@ styles.select(".flourish-popup header, .flourish-panel header") | ||
popup_el_content.style.maxWidth = instance._state.popup_width == null ? null : instance._state.popup_width + "rem"; | ||
popup_el_content.style.padding = "0"; | ||
@@ -148,0 +148,0 @@ popup_el_content.style.textAlign = instance._state.popup_align; |
Sorry, the diff of this file is too big to display
184664