mirror of
https://github.com/microsoft/PowerToys.git
synced 2025-12-16 11:48:06 +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 {
|
||||
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'
|
||||
}}}
|
||||
|
||||
Reference in New Issue
Block a user