Skip to content
This repository has been archived by the owner on Dec 10, 2021. It is now read-only.

Commit

Permalink
fix: GH issue 8669 NVD3 tooltip overflow (#278)
Browse files Browse the repository at this point in the history
* fix: nvd3 tooltip overflow

* fix: fix build

* Revert "fix: fix build"

This reverts commit 44532e9a5d48d5d4204542e9cb468ebae76b4d85.

* build: updating build-config package

* fix: adds newline to css file
  • Loading branch information
rusackas committed Dec 3, 2019
1 parent b459f6f commit e5a8dd1
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 1 deletion.
2 changes: 1 addition & 1 deletion plugins/superset-ui-plugins/package.json
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@
],
"license": "Apache-2.0",
"devDependencies": {
"@superset-ui/build-config": "^0.2.0",
"@superset-ui/build-config": "^0.2.1",
"@superset-ui/commit-config": "^0.0.9",
"@superset-ui/superset-ui": "^0.12.5",
"@types/react": "^16.8.8",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -121,3 +121,13 @@
.superset-legacy-chart-nvd3-tr-total {
font-weight: bold;
}

/* START tooltip styles - these prevent long column names from overflowing the tooltip */
.nvtooltip tbody tr:first-child td{
white-space: nowrap;
font-weight: bold;
}
.nvtooltip tbody tr:not(:first-child) td:nth-child(2){
word-break: break-word;
}
/* END tooltip styles */

0 comments on commit e5a8dd1

Please sign in to comment.