mirror of
https://github.com/EmulatorJS/EmulatorJS.git
synced 2024-09-20 02:46:23 +00:00
Add padding between popup body and buttons
This commit is contained in:
parent
1d2cde5915
commit
8ddd13c5f3
1 changed files with 4 additions and 0 deletions
|
@ -1489,6 +1489,10 @@ class EmulatorJS {
|
|||
popup.appendChild(title);
|
||||
popup.appendChild(main);
|
||||
|
||||
const padding = this.createElement("div");
|
||||
padding.style["padding-top"] = "10px";
|
||||
popup.appendChild(padding);
|
||||
|
||||
for (let k in buttons) {
|
||||
const button = this.createElement("a");
|
||||
if (buttons[k] instanceof Function) {
|
||||
|
|
Loading…
Reference in a new issue