Removed Unused Code

This commit is contained in:
Harrisonfishco
2022-02-09 11:42:25 -07:00
parent 1f55380019
commit 9dd0967cba
2 changed files with 6 additions and 6 deletions

View File

@@ -1,6 +1,6 @@
const createCard = (callback = null) => {
const background = document.createElement('div')
background.classList.add('edit-node-background')
background.classList.add('card-background')
document.body.appendChild(background)
background.addEventListener('click', e => {
@@ -12,7 +12,7 @@ const createCard = (callback = null) => {
})
const card = document.createElement('div')
card.classList.add('edit-node-card')
card.classList.add('card')
background.appendChild(card)
return [background, card]
}

View File

@@ -19,7 +19,7 @@ body {
text-align: center;
}
.edit-node-background {
.card-background {
position: fixed;
top: 0;
right: 0;
@@ -29,7 +29,7 @@ body {
z-index: 1000;
}
.edit-node-background > .edit-node-card {
.card-background > .card {
width: 750px;
margin-left: calc(-750px / 2);
height: 500px;
@@ -43,11 +43,11 @@ body {
overflow-y: auto;
}
.edit-node-param, .edit-node-info, .edit-node-type, .edit-node-id, .edit-node-effectID-div, .card-section-field-holder {
.edit-node-type, .card-section-field-holder {
padding: 8px 0px;
}
.edit-node-param-value, .edit-node-id-value, .edit-node-effectID-input, .card-section-field-input {
.card-section-field-input {
float: right;
text-align: right;
width: 50px;