Skip to content

Commit 26b1709

Browse files
dairyoShinsuke Narajustinclift
authored andcommitted
Embed view becomes flex. (getredash#4422)
Co-authored-by: Shinsuke Nara <[email protected]> Co-authored-by: Justin Clift <[email protected]>
1 parent f9ef070 commit 26b1709

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

client/app/assets/less/redash/query.less

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,23 @@ body.fixed-layout {
9090
.embed__vis {
9191
display: flex;
9292
flex-flow: column;
93+
height: calc(~'100vh - 25px');
94+
95+
> .embed-heading {
96+
flex: 0 0 auto;
97+
}
98+
99+
> .query__vis {
100+
flex: 1 1 auto;
101+
102+
.chart-visualization-container, .visualization-renderer-wrapper, .visualization-renderer {
103+
height: 100%
104+
}
105+
}
106+
107+
> .tile__bottom-control {
108+
flex: 0 0 auto;
109+
}
93110
width: 100%;
94111
}
95112

0 commit comments

Comments
 (0)