Skip to content

Commit

Permalink
Merge pull request PAIR-code#241 from PAIR-code/fix-overflow
Browse files Browse the repository at this point in the history
Fix Overview custom stats text cutoff
  • Loading branch information
jameswex authored May 6, 2021
2 parents 4742b8b + bff0cd6 commit f063044
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,8 @@
.data-custom {
min-width: 150px;
max-width: 150px;
white-space: pre;;
white-space: normal;
overflow-wrap: break-word;
}
#legend-box {
width: 6px;
Expand Down
2 changes: 1 addition & 1 deletion facets_overview/functional_tests/simple/simple_test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -89,7 +89,7 @@ function create(): DatasetFeatureStatisticsList {
]);
featureStats = stats.getFeaturesList()[0];
const customStats = [th.makeCustomStatistic('customHist', customHist),
th.makeCustomStatistic('customNum', 13.1),
th.makeCustomStatistic('customNum-reallylongname_testingoverflow', 13.1),
th.makeCustomStatistic('customRankHist', customRankHist),
th.makeCustomStatistic('customStr', 'cust')];
featureStats.setCustomStatsList(customStats);
Expand Down

0 comments on commit f063044

Please sign in to comment.