1
0
mirror of https://github.com/laurent22/joplin.git synced 2024-12-24 10:27:10 +02:00

Cipper: fixed display cutoff due to increase in browser scale (#7757)

This commit is contained in:
ahk02 2023-02-17 18:59:15 +05:30 committed by GitHub
parent 057ac550bd
commit b832930512
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -116,7 +116,13 @@ async function main() {
console.info('Popup: Creating React app...');
ReactDOM.render(<Provider store={store}><App /></Provider>, document.getElementById('root'));
ReactDOM.render(
<div style = {{ maxHeight: screen.height * 0.65, overflowY: 'scroll' }}>
<Provider store={store}>
<App />
</Provider>
</div>,
document.getElementById('root'));
}
main().catch((error) => {