mirror of
https://github.com/sysadminsmedia/homebox.git
synced 2026-01-01 10:37:22 +01:00
fix: #232 wrap text fields for from and to fields for sold and purchased.
This commit is contained in:
@@ -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"`
|
||||
|
||||
|
||||
@@ -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"
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user