Admin Page Functionally Done

This commit is contained in:
Neshura 2023-09-09 19:17:36 +02:00
parent 3e2e5a7e63
commit 3648c093ed
Signed by: Neshura
GPG key ID: B6983AAA6B9A7A6C
3 changed files with 10 additions and 8 deletions

View file

@ -80,8 +80,10 @@
.dropdown-container {
list-style-type: none;
width: max-content;
height: fit-content;
z-index: 100;
min-width: max-content;
max-height: 20vh;
overflow-y: auto;
position: absolute;
top: 100%;
background: rgba(0, 0, 0, 0.8);

View file

@ -11,11 +11,11 @@
padding: 10px;
border-radius: 10px;
max-width: 100%;
min-width: fit-content;
min-width: max-content;
margin: 10% auto;
margin-left: 0;
background: #3f3f3f;
height: 100%;
height: fit-content;
font-weight: 700;
font-size: 0.8rem;
letter-spacing: 0.1em;

View file

@ -183,12 +183,12 @@
</script>
{#if newEmpire && newEmpirePrepared}
<div>
<!-- <div>
ID: {empire.id}
</div>
<div>
Game ID: {empire.game}
</div>
</div> -->
<DropDown dropdownTitle={'Group*: ' + groups[empire.group].name} dropdownId={groupDropdownId}>
{#each Object.values(groups) as group}
{#if group}
@ -278,12 +278,12 @@
{:else if !newEmpire}
<div>
{#if empire}
<div>
<!-- <div>
ID: {empire.id}
</div>
<div>
Game ID: {empire.game}
</div>
</div> -->
<DropDown dropdownTitle={'Group: ' + groups[empire.group].name} dropdownId={groupDropdownId}>
{#each Object.values(groups) as group}
{#if group}