Skip to content

Commit

Permalink
Improve style for party names
Browse files Browse the repository at this point in the history
  • Loading branch information
man90es committed Mar 23, 2024
1 parent 9f0f00b commit fc29a09
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion src/components/PartyRow.vue
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<template>
<div :style="{ cursor: clickable ? 'pointer' : 'default' }" class="wrapper">
<input :placeholder="namePlaceholder" type="text" v-if="editableName" v-model="store.parties[props.index].name" />
<div v-else>
<div class="name" v-else>
{{ meta?.name || namePlaceholder }}
<time v-if="meta.updatedAt">({{ formatDistanceToNow(meta.updatedAt, { addSuffix: true }) }})</time>
</div>
Expand Down Expand Up @@ -56,4 +56,9 @@
time {
opacity: 0.5;
}
.name {
font-family: Hoyofont;
text-align: left;
}
</style>

0 comments on commit fc29a09

Please sign in to comment.