Positioning Fixed
This commit is contained in:
1 parent
3986c9f71a
commit
7e6a95dd7c
2 files changed
+3
-3
No files matched your search
@@ -240,7 +240,7 @@
|
||||
border: solid 0px;
|
||||
vertical-align: middle;
|
||||
min-width: 100px;
|
||||
width: 100%;
|
||||
width: 95%;
|
||||
margin-left: auto;
|
||||
margin-right: auto;
|
||||
}
|
||||
@@ -251,7 +251,7 @@ function newTutorialSpace() {
|
||||
const HEIGHT = 650
|
||||
const WIDTH = 400
|
||||
const MARGIN = 300
|
||||
const FORM_HEIGHT = 80
|
||||
const FORM_HEIGHT = 40
|
||||
|
||||
let nodeConfig = JSON.parse(currentNode.config)
|
||||
switch (nodeConfig.position) {
|
||||
@@ -294,7 +294,7 @@ function newTutorialSpace() {
|
||||
buildHTML()
|
||||
|
||||
tutorialFormDiv.style = ' ' +
|
||||
'position:fixed; top:' + (tutorialPosition.y + HEIGHT - FORM_HEIGHT) + 'px; ' +
|
||||
'position:fixed; top:' + (tutorialPosition.y + HEIGHT - 30) + 'px; ' +
|
||||
'left:' + tutorialPosition.x + 'px; ' +
|
||||
'width: ' + (WIDTH + 20) + 'px;' +
|
||||
'height: ' + FORM_HEIGHT + 'px;' +
|
||||
|
||||
Reference in new issue
Block a user