mirror of https://github.com/apache/superset.git
This bug was introduced by #7102 Using `position:absolute` on body gives `document.documentElement` a height of 0 which propagates to `clientHeight` on Firefox. This leads to a wrong calculation of the tooltip position in NVD3. The solution proposed here is to use `min-height: 100vh` instead of the current technique for stretching the body element to the full window height, thus keeping body and html together.
This commit is contained in:
parent
aebffe0b44
commit
6df2a713e4
|
@ -25,11 +25,7 @@
|
|||
@stroke-primary: @brand-primary;
|
||||
|
||||
body {
|
||||
position: absolute;
|
||||
top: 0;
|
||||
right: 0;
|
||||
bottom: 0;
|
||||
left: 0;
|
||||
min-height: 100vh;
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue