ui: tweak

This commit is contained in:
cha0s 2021-02-15 16:42:01 -06:00
parent 208bfd9712
commit c0d6a53825
2 changed files with 14 additions and 1 deletions

View File

@ -117,8 +117,8 @@ const Play = () => {
// eslint-disable-next-line jsx-a11y/no-noninteractive-tabindex
tabIndex="0"
>
{selfEntity && <Hotbar selfEntity={selfEntity} />}
<div className="entities" />
{selfEntity && <Hotbar selfEntity={selfEntity} />}
</div>
);
};

View File

@ -1,3 +1,16 @@
.entities {
position: relative;
}
entity.dialog {
background-color: rgba(0, 0, 0, 0.6);
border-radius: 0.5em;
border: 2px solid #444;
display: inline-flex;
flex-wrap: wrap;
font-family: Joystix;
font-size: 2.5em;
max-width: 75rem;
padding: 1em;
}