Commit ae9df50
authored
fix: public viewer iframe gap by making wrapper div a flex container (#230)
The wrapper div inside .content defaulted to flex: 0 1 auto, so it
did not stretch to fill .content. The iframe's flex: 1 had no effect
because its parent was not a flex container. Adding .content > div
as a flex column lets the iframe expand to fill the remaining space.1 parent 0bb5f56 commit ae9df50
File tree
2 files changed
+11
-2
lines changed- cmd/preview-content-viewer
- pkg/portal/templates
2 files changed
+11
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
30 | 30 | | |
31 | 31 | | |
32 | 32 | | |
33 | | - | |
34 | | - | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
35 | 36 | | |
36 | 37 | | |
37 | 38 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
| 170 | + | |
| 171 | + | |
| 172 | + | |
| 173 | + | |
| 174 | + | |
| 175 | + | |
170 | 176 | | |
171 | 177 | | |
172 | 178 | | |
173 | 179 | | |
| 180 | + | |
174 | 181 | | |
| 182 | + | |
175 | 183 | | |
176 | 184 | | |
177 | 185 | | |
| |||
0 commit comments