You've already forked AstralRinth
forked from didirus/AstralRinth
Improve badges and work on a more unified color scheme for random colors (#756)
This commit is contained in:
@@ -134,22 +134,7 @@
|
||||
</div>
|
||||
</div>
|
||||
<div v-if="status" class="status">
|
||||
<Badge
|
||||
v-if="status === 'approved'"
|
||||
color="green custom-circle"
|
||||
:type="status"
|
||||
/>
|
||||
<Badge
|
||||
v-else-if="status === 'processing' || status === 'archived'"
|
||||
color="yellow custom-circle"
|
||||
:type="status"
|
||||
/>
|
||||
<Badge
|
||||
v-else-if="status === 'rejected'"
|
||||
color="red custom-circle"
|
||||
:type="status"
|
||||
/>
|
||||
<Badge v-else color="gray custom-circle" :type="status" />
|
||||
<Badge :type="status" />
|
||||
</div>
|
||||
<div class="buttons">
|
||||
<slot />
|
||||
@@ -402,6 +387,8 @@ export default {
|
||||
}
|
||||
|
||||
.status {
|
||||
display: flex;
|
||||
justify-content: right;
|
||||
margin-bottom: 0.5rem;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user