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 摘要。