fix: notes breaking mue when there are many rows

This commit is contained in:
David Ralph 2021-11-22 22:41:17 +00:00
parent 234d489a29
commit f8ee23eb40
2 changed files with 7 additions and 1 deletions

View File

@ -51,7 +51,7 @@ export default class Notes extends PureComponent {
<NotesRounded/>
<h3>{variables.language.getMessage(variables.languagecode, 'widgets.navbar.notes.title')}</h3>
</div>
<TextareaAutosize rowsmax={50} placeholder={variables.language.getMessage(variables.languagecode, 'widgets.navbar.notes.placeholder')} value={this.state.notes} onChange={this.setNotes}/>
<TextareaAutosize placeholder={variables.language.getMessage(variables.languagecode, 'widgets.navbar.notes.placeholder')} value={this.state.notes} onChange={this.setNotes}/>
<button onClick={() => this.pin()} className='pinNote'><PushPin/></button>
<button onClick={() => this.copy()} className='copyNote'><FileCopyRounded/></button>
{/*variables.keybinds.pinNotes && variables.keybinds.pinNotes !== '' ? <Hotkeys keyName={variables.keybinds.pinNotes} onKeyDown={() => this.pin()}/> : null*/}

View File

@ -23,6 +23,12 @@
position: absolute;
top: 80%;
margin-left: -150px;
max-height: 80vh !important;
textarea {
max-height: 65vh !important;
overflow-y: visible !important;
}
svg {
float: left;