summaryrefslogtreecommitdiff
path: root/addons/web/static/src/scss/graph_view.scss
diff options
context:
space:
mode:
Diffstat (limited to 'addons/web/static/src/scss/graph_view.scss')
-rw-r--r--addons/web/static/src/scss/graph_view.scss21
1 files changed, 21 insertions, 0 deletions
diff --git a/addons/web/static/src/scss/graph_view.scss b/addons/web/static/src/scss/graph_view.scss
index f78df83cc83..7e7852a4d7f 100644
--- a/addons/web/static/src/scss/graph_view.scss
+++ b/addons/web/static/src/scss/graph_view.scss
@@ -33,6 +33,27 @@
}
}
}
+
+ /* Use less than 50% of the screen area for tooltip and show legends in 3 column of 33% each */
+ &.o_tooltip_split_in_columns .nvtooltip {
+ max-width: 48%;
+ tbody {
+ display: flex;
+ flex-flow: wrap;
+ tr {
+ width: 33%;
+ td {
+ display: inline-block;
+ &.key {
+ min-width: 160px;
+ max-width: 70%;
+ overflow-x: hidden;
+ text-overflow: ellipsis;
+ }
+ }
+ }
+ }
+ }
}
}
}