alteryx / alteryx/dev-harness

The App's <iframe> extends beyond the window

Aperta
#14 0 commenti 0 reazioni 0 assegnatari Vedi su GitHub
Lingua principale
TypeScript
Stelle
7
Fork
3
Metriche di merge delle PR
Nessuna PR unita negli ultimi 30g

Descrizione

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>
```

Guida per i contributori

Nessuna guida per i contributori indicizzata per questo repository

Valutazione

Questa issue non è ancora stata valutata.

Ricevi le nuove issue nella tua casella

Un breve riepilogo di issue GitHub adatte ai principianti.