Commit df7d25c
fix: set PDFViewer container position:absolute via inline style
PDFViewer checks getComputedStyle(container).position === 'absolute'
at construction time. The CSS class alone is not reliable (possible
GWT class pruning or loading-order race). Set all critical layout
properties inline on scrollContainer, scrollWrapper, and content so
the check always passes regardless of CSS class availability.
Co-Authored-By: Claude Sonnet 4.6 <noreply@anthropic.com>1 parent 76c7cf1 commit df7d25c
1 file changed
Lines changed: 13 additions & 0 deletions
Lines changed: 13 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
130 | 130 | | |
131 | 131 | | |
132 | 132 | | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
133 | 136 | | |
134 | 137 | | |
135 | 138 | | |
| |||
240 | 243 | | |
241 | 244 | | |
242 | 245 | | |
| 246 | + | |
243 | 247 | | |
244 | 248 | | |
245 | 249 | | |
| |||
252 | 256 | | |
253 | 257 | | |
254 | 258 | | |
| 259 | + | |
| 260 | + | |
| 261 | + | |
| 262 | + | |
| 263 | + | |
| 264 | + | |
| 265 | + | |
| 266 | + | |
| 267 | + | |
255 | 268 | | |
256 | 269 | | |
257 | 270 | | |
| |||
0 commit comments