refactor: remove reliance on viewport height in favor of body (#1926)
This commit is contained in:
@@ -1025,11 +1025,7 @@ class NoteView extends AbstractComponent<NoteViewProps, State> {
|
||||
const renderHeaderOptions = isMobileScreen() ? !this.state.plaintextEditorFocused : true
|
||||
|
||||
return (
|
||||
<div
|
||||
aria-label="Note"
|
||||
className="section editor sn-component max-h-screen md:max-h-full"
|
||||
ref={this.noteViewElementRef}
|
||||
>
|
||||
<div aria-label="Note" className="section editor sn-component h-full md:max-h-full" ref={this.noteViewElementRef}>
|
||||
{this.note && (
|
||||
<NoteViewFileDropTarget
|
||||
note={this.note}
|
||||
|
||||
Reference in New Issue
Block a user