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

View File

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

View File

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