1
0
mirror of https://github.com/laurent22/joplin.git synced 2025-01-11 18:24:43 +02:00

Desktop: Fix prompt tag dialog input can be wider than its container (#10818)

This commit is contained in:
Henry Heino 2024-08-03 08:43:00 -07:00 committed by GitHub
parent 9cf298ef44
commit 88cf1d6232
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -191,6 +191,8 @@ export default class PromptDialog extends React.Component<Props, any> {
this.styles_.desc = { ...theme.textStyle, marginTop: 10 };
this.styles_.dialog = { maxWidth: width };
return this.styles_;
}
@ -304,7 +306,7 @@ export default class PromptDialog extends React.Component<Props, any> {
}
return (
<Dialog className='prompt-dialog'>
<Dialog className='prompt-dialog' contentStyle={styles.dialog}>
<label style={styles.label}>{this.props.label ? this.props.label : ''}</label>
<div style={{ display: 'inline-block', color: 'black', backgroundColor: theme.backgroundColor }}>
{inputComp}