alteryx / alteryx/dev-harness

The App's <iframe> extends beyond the window

未關閉
#14 0 則留言 0 個 reaction 已指派 0 人 在 GitHub 檢視
主要語言
TypeScript
星號
7
分支
3
PR 合併指標
30 天內沒有已合併 PR

描述

The `` that the child app lives in has its height set to `100%` which causes the "Tool Name (1)" header to push it offscreen, which is annoying when developing a plugin that normally extends beyond the vertical space. Could be fixed by using flex to fill the remaining space.

```jsx
<Grid container direction="column" item xs="auto" className={...}>
<Box m={4}>
<Grid container alignItems="center">
<Grid item xs><Typography variant="overline">Tool Name (1)</Typography></Grid>
<Grid item><IconButton onClick={this.toggleToolDrawer}>...</IconButton></Grid>
</Grid>
</Box>
<Divider />
<Grid item xs>
<iframe style={{ border: 0, height: '100%', width: '100%' }} {...} />
</Grid>
</Grid>
```

貢獻指南

這個儲存庫沒有索引到貢獻指南

評估

這個 Issue 還沒有評估資料。

把新 issue 寄到你的電子郵件信箱

精選適合新手參與的 GitHub issue 摘要。