Make some settings descriptions wrap correctly
Applies to https://github.com/microsoft/PowerToys/issues/712
This commit is contained in:
parent
3a93246f08
commit
5615987ea2
|
@ -30,11 +30,10 @@ export class DropdownSettingsControl extends BaseSettingsControl {
|
|||
public render(): JSX.Element {
|
||||
return (
|
||||
<Dropdown
|
||||
styles={{
|
||||
root:{
|
||||
width: '350px',
|
||||
alignSelf: 'start'
|
||||
}}}
|
||||
styles={{ dropdown: {
|
||||
width: '350px',
|
||||
alignSelf: 'start'
|
||||
} }}
|
||||
defaultSelectedKey={this.state.property_values.value}
|
||||
options={this.state.property_values.options}
|
||||
label={this.state.property_values.display_name}
|
||||
|
|
|
@ -50,8 +50,7 @@ export class HotkeySettingsControl extends BaseSettingsControl {
|
|||
// Renders a UI Fabric TextField.
|
||||
return (
|
||||
<TextField
|
||||
styles= {{
|
||||
root: {
|
||||
styles={{ fieldGroup: {
|
||||
width: '350px',
|
||||
alignSelf: 'start'
|
||||
}}}
|
||||
|
|
2
src/settings/settings-html/dist/bundle.js
vendored
2
src/settings/settings-html/dist/bundle.js
vendored
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue