mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 19:57:57 +01:00
Make some settings descriptions wrap correctly
Applies to https://github.com/microsoft/PowerToys/issues/712
This commit is contained in:
committed by
Bartosz Sosnowski
parent
3a93246f08
commit
5615987ea2
@@ -30,11 +30,10 @@ export class DropdownSettingsControl extends BaseSettingsControl {
|
|||||||
public render(): JSX.Element {
|
public render(): JSX.Element {
|
||||||
return (
|
return (
|
||||||
<Dropdown
|
<Dropdown
|
||||||
styles={{
|
styles={{ dropdown: {
|
||||||
root:{
|
width: '350px',
|
||||||
width: '350px',
|
alignSelf: 'start'
|
||||||
alignSelf: 'start'
|
} }}
|
||||||
}}}
|
|
||||||
defaultSelectedKey={this.state.property_values.value}
|
defaultSelectedKey={this.state.property_values.value}
|
||||||
options={this.state.property_values.options}
|
options={this.state.property_values.options}
|
||||||
label={this.state.property_values.display_name}
|
label={this.state.property_values.display_name}
|
||||||
|
|||||||
@@ -50,8 +50,7 @@ export class HotkeySettingsControl extends BaseSettingsControl {
|
|||||||
// Renders a UI Fabric TextField.
|
// Renders a UI Fabric TextField.
|
||||||
return (
|
return (
|
||||||
<TextField
|
<TextField
|
||||||
styles= {{
|
styles={{ fieldGroup: {
|
||||||
root: {
|
|
||||||
width: '350px',
|
width: '350px',
|
||||||
alignSelf: 'start'
|
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
Reference in New Issue
Block a user