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:
parent
9cf298ef44
commit
88cf1d6232
@ -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}
|
||||
|
Loading…
Reference in New Issue
Block a user