From eadd47fb12c22bf3728cfeb688f237e2686ac6a0 Mon Sep 17 00:00:00 2001 From: Carolina Capetillo Date: Mon, 9 Oct 2023 16:22:34 -0700 Subject: [PATCH] changed b-input to b-numberinput under the projects tab > exposures so that we can add a min-step of 0.001 and keep the step of 0.1 or 1. Also added styling --- src/components/projects/CreateProjectForm.vue | 86 ++++++++++++------- 1 file changed, 57 insertions(+), 29 deletions(-) diff --git a/src/components/projects/CreateProjectForm.vue b/src/components/projects/CreateProjectForm.vue index 14cd5f66..94ea17da 100644 --- a/src/components/projects/CreateProjectForm.vue +++ b/src/components/projects/CreateProjectForm.vue @@ -365,10 +365,10 @@ - - -
@@ -874,6 +880,7 @@ export default { maxHeightDegrees: 4.5, degreesToArcminutes: 60, conditionalStep: 0.1, + keyDownTime: null, site: this.sitecode, warn: { project_name: false, @@ -1337,33 +1344,54 @@ export default { gap: 1em; margin-bottom: 1em; } +.b-numberinput { + position: relative; +} .degree-input::after { - content: '°'; - position: absolute; - top: 50%; - left: 40%; - transform: translateY(-50%); - pointer-events: none; - color: white; + content: "°"; + position: absolute; + right: 35%; + top: 50%; + transform: translateY(-50%); + pointer-events: none; + z-index: 1; } - .arcmin-input::after { - content: "'"; - position: absolute; - top: 50%; - left: 40%; - transform: translateY(-50%); - pointer-events: none; - color: white; + content: "'"; + position: absolute; + right: 35%; + top: 50%; + transform: translateY(-50%); + pointer-events: none; + z-index: 1; } - .angle-input::after { content: '°'; position: absolute; top: 50%; - left: 40%; + left: 63%; transform: translateY(-50%); pointer-events: none; color: white; + z-index: 1; +} + + +