diff --git a/src/components/auctions/Index.vue b/src/components/auctions/Index.vue index c028a8c..fc08663 100644 --- a/src/components/auctions/Index.vue +++ b/src/components/auctions/Index.vue @@ -25,19 +25,33 @@ onMounted(async () => { await loadAuctions() }) +function formatPrice(price) { + const fmt = new Intl.NumberFormat("en-US", {style: "currency", currency: "USD"}) // TODO: maybe load currency from backend or env + + return fmt.format(price) +} \ No newline at end of file diff --git a/src/styles/app.scss b/src/styles/app.scss index d8dc8d2..687c49e 100644 --- a/src/styles/app.scss +++ b/src/styles/app.scss @@ -1 +1,7 @@ -@import "bootstrap/scss/bootstrap"; \ No newline at end of file +@import "bootstrap/scss/bootstrap"; + +/* Minor adjustments */ + +.card-body > p:last-child { + margin-bottom: 0; +} \ No newline at end of file