X button styling

This commit is contained in:
mrfry 2020-11-16 20:35:25 +01:00
parent 234654a2e4
commit b5d83569a0

View file

@ -2032,8 +2032,9 @@
appedtTo.appendChild(mainDiv) // THE FINAL APPEND
const xButton = CreateNodeWithText(mainDiv, '❌', 'div')
const xButtonSize = 20
const xButtonSize = 40
SetStyle(xButton, {
margin: '5px',
position: 'absolute',
height: xButtonSize + 'px',
top: 0,