Visual fixes

This commit is contained in:
Geometrically 2021-01-29 20:49:13 -07:00
parent 9d62931af9
commit 01703aff43
No known key found for this signature in database
GPG Key ID: 90C056FDC8FC9FF0
3 changed files with 92 additions and 77 deletions

View File

@ -17,14 +17,17 @@
<NuxtLink to="/mods" class="tab"> <NuxtLink to="/mods" class="tab">
<span>Mods</span> <span>Mods</span>
</NuxtLink> </NuxtLink>
<client-only>
<div v-if="this.$auth.loggedIn" class="section"> <div v-if="this.$auth.loggedIn" class="section">
<NuxtLink to="/dashboard/projects" class="tab"> <NuxtLink to="/dashboard/projects" class="tab">
<span>Dashboard</span> <span>Dashboard</span>
</NuxtLink> </NuxtLink>
</div> </div>
</client-only>
</div> </div>
</section> </section>
<section class="column-grow"> <section class="column-grow">
<client-only>
<template v-if="this.$auth.loggedIn"> <template v-if="this.$auth.loggedIn">
<section class="user-controls"> <section class="user-controls">
<div <div
@ -88,6 +91,7 @@
> >
</section> </section>
</template> </template>
</client-only>
</section> </section>
</section> </section>
</header> </header>

View File

@ -93,12 +93,9 @@
will be removed from our servers. This cannot be reversed, so be will be removed from our servers. This cannot be reversed, so be
careful!</span careful!</span
> >
<input <div type="button" class="button" @click="deleteAccount">
type="button" Delete Account
class="button" </div>
value="Delete Account"
@click="deleteAccount"
/>
</label> </label>
</section> </section>
</DashboardPage> </DashboardPage>
@ -257,5 +254,15 @@ label {
input[type='button']:hover { input[type='button']:hover {
cursor: pointer; cursor: pointer;
} }
div,
a {
text-align: center;
height: fit-content;
flex: 1;
}
div:hover {
cursor: pointer;
}
} }
</style> </style>

View File

@ -68,9 +68,11 @@
</tr> </tr>
</tbody> </tbody>
</table> </table>
<div class="new-version">
<nuxt-link v-if="currentMember" to="newversion" class="button"> <nuxt-link v-if="currentMember" to="newversion" class="button">
New Version New Version
</nuxt-link> </nuxt-link>
</div>
</ModPage> </ModPage>
</template> </template>
<script> <script>
@ -294,8 +296,10 @@ table {
} }
} }
.button { .new-version {
float: right; width: 100%;
text-align: right;
margin-bottom: var(--spacing-card-md);
} }
@media screen and (max-width: 400px) { @media screen and (max-width: 400px) {