fix: #232 wrap text fields for from and to fields for sold and purchased.

This commit is contained in:
Matt Kilgore
2024-10-04 14:38:29 -04:00
parent da8cc19838
commit 9d3f3cf1da
3 changed files with 4 additions and 4 deletions

View File

@@ -92,12 +92,12 @@ type (
// Purchase
PurchaseTime types.Date `json:"purchaseTime"`
PurchaseFrom string `json:"purchaseFrom"`
PurchaseFrom string `json:"purchaseFrom" validate:"max=255"`
PurchasePrice float64 `json:"purchasePrice,string"`
// Sold
SoldTime types.Date `json:"soldTime"`
SoldTo string `json:"soldTo"`
SoldTo string `json:"soldTo" validate:"max=255"`
SoldPrice float64 `json:"soldPrice,string"`
SoldNotes string `json:"soldNotes"`

View File

@@ -27,7 +27,7 @@
</ClientOnly>
</template>
<template v-else>
<span class="flex items-center">
<span class="flex items-center text-wrap">
{{ detail.text }}
<span
v-if="detail.copyable"

View File

@@ -24,7 +24,7 @@
</script>
<template>
<div class="markdown" v-html="raw"></div>
<div class="markdown text-wrap" v-html="raw"></div>
</template>
<style scoped>