margin
This commit is contained in:
parent
e05e78c71d
commit
b0b5da9447
5
main.js
5
main.js
@ -1872,6 +1872,7 @@
|
|||||||
let addButton = document.createElement("button")
|
let addButton = document.createElement("button")
|
||||||
addButton.type = "button"
|
addButton.type = "button"
|
||||||
addButton.textContent = "Добавить"
|
addButton.textContent = "Добавить"
|
||||||
|
addButton.id = "add-button"
|
||||||
addButton.addEventListener("click", () => {
|
addButton.addEventListener("click", () => {
|
||||||
let point = pointInput.value
|
let point = pointInput.value
|
||||||
if (point == "") return
|
if (point == "") return
|
||||||
@ -1942,6 +1943,10 @@
|
|||||||
#add-point {
|
#add-point {
|
||||||
width: 5em;
|
width: 5em;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
#add-button {
|
||||||
|
margin-left: 420px;
|
||||||
|
}
|
||||||
`)
|
`)
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user