Skip to content
This repository was archived by the owner on Aug 5, 2022. It is now read-only.

Commit 3a704dc

Browse files
committed
simulate something like fullScreen but prevent fullScreen mode from going behind menu bar
1 parent 5e77bd7 commit 3a704dc

File tree

1 file changed

+10
-2
lines changed

1 file changed

+10
-2
lines changed

app/components/SubmitHelpTicket.js

+10-2
Original file line numberDiff line numberDiff line change
@@ -615,13 +615,21 @@ class SubmitHelpTicket extends React.Component<Props> {
615615
}}
616616
disabled={isLoading}
617617
value={description}
618-
style={{ height: '500px', width: '100%' }}
618+
style={{
619+
width: '100%',
620+
height: '65%',
621+
position: 'fixed',
622+
left: '0',
623+
top: '230px',
624+
zIndex: '1000'
625+
}}
619626
renderHTML={text => this.mdParser.render(text)}
620627
config={{
621628
view: {
622629
menu: true,
623630
md: true,
624-
html: true
631+
html: true,
632+
fullScreen: false
625633
},
626634
table: {
627635
maxRow: 5,

0 commit comments

Comments
 (0)