From ff85abd4015c108cfc36b19bf4b6a270f2ee7c5d Mon Sep 17 00:00:00 2001 From: Immanuel Onyeka Date: Sat, 5 Nov 2022 22:38:20 -0400 Subject: [PATCH] Seperate general and loan specific properties --- assets/main.css | 11 ++-- components/new.vue | 137 +++++++++++++++++++++++---------------------- 2 files changed, 76 insertions(+), 72 deletions(-) diff --git a/assets/main.css b/assets/main.css index f66c311..83e09ed 100644 --- a/assets/main.css +++ b/assets/main.css @@ -22,6 +22,12 @@ label { font-size: 16px; } +input, select { + border: 2px solid var(--outline); + border-radius: 3px; +} + + section.form label { display: flex; align-items: center; @@ -191,11 +197,6 @@ section.loans-list { color: black; } -section.form input, section.form select { - border: 2px solid var(--outline); - border-radius: 3px; -} - section.radios { display: grid; grid-template-columns: 50px 1fr; diff --git a/components/new.vue b/components/new.vue index 19a6ee6..2acba3b 100644 --- a/components/new.vue +++ b/components/new.vue @@ -13,10 +13,10 @@
- +
@@ -40,35 +40,35 @@ fill="currentColor" class="bi bi-plus" viewBox="0 0 16 16"> + - + - +

Transaction Type

+@input="e => estimate.transaction = 0" +selected="estimate.transaction == 0"> +@input="e => estimate.transaction = 1" +selected="estimate.transaction == 1">

Property Details

- + - @@ -115,9 +115,53 @@ selected="loans[sel].transaction == 1">