Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix: Tags on RMRK NFTs #3792

Merged
merged 9 commits into from
Aug 25, 2022
Merged
11 changes: 8 additions & 3 deletions components/shared/gallery/Properties.vue
Original file line number Diff line number Diff line change
Expand Up @@ -7,9 +7,8 @@
class="column is-4">
<div class="notification is-primary is-light">
<div
v-if="attribute[fieldKey] && attribute[fieldKey] !== 'undefined'"
class="is-size-7 has-text-grey-lighter is-uppercase">
{{ attribute[fieldKey] }}
class="is-size-7 has-text-grey-lighter is-uppercase attribute-key">
{{ attribute[fieldKey] === 'undefined' ? '' : attribute[fieldKey] }}
</div>
<div class="is-size-5 has-text-white">{{ attribute.value }}</div>
</div>
Expand All @@ -35,3 +34,9 @@ export default class Properties extends Vue {
@Prop({ type: String, default: 'trait_type' }) public fieldKey!: string
}
</script>
<style scoped>
.attribute-key {
min-height: 18px;
}
</style>
Jarsen136 marked this conversation as resolved.
Show resolved Hide resolved
>