You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@superset.apache.org by mi...@apache.org on 2024/02/13 16:02:25 UTC
(superset) 12/16: fix(big_number): white-space: nowrap to prevent wrapping (#27096)
This is an automated email from the ASF dual-hosted git repository.
michaelsmolina pushed a commit to branch 3.1
in repository https://gitbox.apache.org/repos/asf/superset.git
commit cde63c8c1e741eac5cf4ae665fb52f17d237c601
Author: Maxime Beauchemin <ma...@gmail.com>
AuthorDate: Mon Feb 12 19:09:13 2024 -0800
fix(big_number): white-space: nowrap to prevent wrapping (#27096)
(cherry picked from commit 4796484190010275c037595c79b01d281d09ff60)
---
.../plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx | 1 +
1 file changed, 1 insertion(+)
diff --git a/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx b/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx
index 112e21657f..8a95a81d5f 100644
--- a/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx
+++ b/superset-frontend/plugins/plugin-chart-echarts/src/BigNumber/BigNumberViz.tsx
@@ -354,6 +354,7 @@ export default styled(BigNumberVis)`
.header-line {
position: relative;
line-height: 1em;
+ white-space: nowrap;
span {
position: absolute;
bottom: 0;