Roundify more buttons
This commit is contained in:
1 parent
5465b0776f
commit
c0455c59bd
4 files changed
+8
-8
No files matched your search
@@ -23,7 +23,7 @@ function IntroPopup() {
|
||||
IntroPopup.prototype.moveToElement = function (el) {
|
||||
let rect = el.getBoundingClientRect()
|
||||
this.popup.style.top = (rect.top + el.offsetHeight + 20) + "px"
|
||||
this.popup.style.left = (rect.left + (el.clientWidth / 2) - 30) + "px"
|
||||
this.popup.style.left = (rect.left + (el.clientWidth / 2) - 40) + "px"
|
||||
}
|
||||
|
||||
IntroPopup.prototype.close = function () {
|
||||
|
||||
Reference in new issue
Block a user