mirror of https://github.com/mue/mue.git
fix: notes breaking mue when there are many rows
This commit is contained in:
parent
234d489a29
commit
f8ee23eb40
|
@ -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*/}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue