baebc33a66
Phaser 3.53.0 no longer sets `pointer-events: auto` for generated DOM elements, so we need to do it manually.
28 lines
548 B
HTML
28 lines
548 B
HTML
<style>
|
|
#menuIcon {
|
|
pointer-events: auto;
|
|
}
|
|
#menuIcon button {
|
|
background-color: black;
|
|
color: white;
|
|
border-radius: 7px;
|
|
height: 28px;
|
|
width: 34px;
|
|
}
|
|
#menuIcon button img{
|
|
width: 14px;
|
|
padding-top: 3px;
|
|
cursor: pointer;
|
|
}
|
|
#menuIcon section {
|
|
margin: 10px;
|
|
}
|
|
</style>
|
|
<main id="menuIcon" hidden>
|
|
<section>
|
|
<button id="openMenuButton">
|
|
<img src="/static/images/menu.svg">
|
|
</button>
|
|
</section>
|
|
</main>
|