@@ -58,7 +58,7 @@ class ProfileDropdownPartial extends React.Component {
5858 id = { 'profile-drop' }
5959 className = { 'profile-drop' }
6060 showTitlebar = { false }
61- minHeight = { 255 }
61+ minHeight = { 185 } // 255 with keyboard shortcuts
6262 minWidth = { 350 }
6363 topOffset = { - 5 }
6464 leftOffset = { - 70 }
@@ -83,27 +83,27 @@ class ProfileDropdownPartial extends React.Component {
8383 </ div >
8484 </ div >
8585 </ div >
86- < Spacer showBorder = { true } borderSize = { 1 } top = { 0 } bottom = { 0 } />
87- < div className = { 'user-action-items' } >
88- < EnableSwitch
89- label = { 'Keyboard Shortcuts' }
90- sublabel = {
91- < >
92- { this . keyboardShortcutsChecked && (
93- < div className = { 'sub-label' } >
94- Press < code > ?</ code > to view{ ' ' }
95- < a href = '#' className = { 'no-ajaxy' } >
96- Shortcuts
97- </ a >
98- </ div >
99- ) }
100- </ >
101- }
102- stateName = { 'keyboard-shortcuts-enable-switch' }
103- checked = { this . keyboardShortcutsChecked }
104- onChange = { e => this . onKeyboardShortcutsChanged ( e ) }
105- />
106- </ div >
86+ { /* <Spacer showBorder={true} borderSize={1} top={0} bottom={0} />*/ }
87+ { /* <div className={'user-action-items'}>*/ }
88+ { /* <EnableSwitch*/ }
89+ { /* label={'Keyboard Shortcuts'}*/ }
90+ { /* sublabel={*/ }
91+ { /* <>*/ }
92+ { /* {this.keyboardShortcutsChecked && (*/ }
93+ { /* <div className={'sub-label'}>*/ }
94+ { /* Press <code>?</code> to view{' '}*/ }
95+ { /* <a href='#' className={'no-ajaxy'}>*/ }
96+ { /* Shortcuts*/ }
97+ { /* </a>*/ }
98+ { /* </div>*/ }
99+ { /* )}*/ }
100+ { /* </>*/ }
101+ { /* }*/ }
102+ { /* stateName={'keyboard-shortcuts-enable-switch'}*/ }
103+ { /* checked={this.keyboardShortcutsChecked}*/ }
104+ { /* onChange={e => this.onKeyboardShortcutsChanged(e)}*/ }
105+ { /* />*/ }
106+ { /* </div>*/ }
107107 < Spacer showBorder = { true } borderSize = { 1 } top = { 0 } bottom = { 0 } />
108108 { /*<div className={'profile-drop-dark-section'}></div>*/ }
109109 { /*<Spacer showBorder={true} borderSize={1} top={0} bottom={0} />*/ }
0 commit comments