Skip to content

Commit fe5379d

Browse files
committed
Make dialogs scrollable on mobile
Fixes #18 Made with Gemini CLI. Session: https://gistpreview.github.io/?94908177fbbe1c51339872e7b6e0a14b
1 parent c15690c commit fe5379d

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

site2/src/App.tsx

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -241,10 +241,10 @@ export default class App extends React.Component<IProps, IState> {
241241
}>
242242
</AppBar>
243243
<div id="map"></div>
244-
<Dialog open={this.state.aboutOpen} onRequestClose={() => this.dialogClosed()}>
244+
<Dialog open={this.state.aboutOpen} onRequestClose={() => this.dialogClosed()} autoScrollBodyContent={true} repositionOnUpdate={false} autoDetectWindowHeight={false}>
245245
<About lastModifiedTime={this.state.lastModifiedTime}/>
246246
</Dialog>
247-
<Dialog open={this.state.link != null} onRequestClose={() => {this.setState({link: null});}}>
247+
<Dialog open={this.state.link != null} onRequestClose={() => {this.setState({link: null});}} autoScrollBodyContent={true} repositionOnUpdate={false} autoDetectWindowHeight={false}>
248248
<dl>
249249
<dt>License ID:</dt>
250250
<dd>

0 commit comments

Comments
 (0)