mirror of
https://gitlab.com/MrFry/moodle-test-userscript
synced 2025-04-01 20:22:48 +02:00
X button styling
This commit is contained in:
parent
234654a2e4
commit
b5d83569a0
1 changed files with 2 additions and 1 deletions
|
@ -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,
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue