Calibration card and PV input styling (#1695)

Images are before and after comparison.
Does the following:
- Fixes several styling issues with pv-* input elements, including top
padding, vertical alignment, and allocated input width

![image](https://github.com/user-attachments/assets/70d37e65-e0cd-4c71-8ea1-941ec2175850)

![image](https://github.com/user-attachments/assets/031d008d-3cce-4ed2-bc88-5fbecf20c94f)

- Conforms the calibration details modal to overall styling and spacing
standards

![image](https://github.com/user-attachments/assets/18281551-f924-4e12-9ad4-d2ec470dbc70)

![image](https://github.com/user-attachments/assets/db772325-7650-467d-8521-252c7d38601f)
(left the blank table there on empty calibrations to give the user a
sense of what they might see if they don't have any)
This commit is contained in:
Devon Doyle
2025-01-08 16:46:31 -05:00
committed by GitHub
parent 27684eef60
commit e40c8fbca0
14 changed files with 142 additions and 108 deletions

View File

@@ -69,3 +69,8 @@ const handleKeydown = ({ key }) => {
</v-col>
</div>
</template>
<style scoped>
.v-text-field {
margin-top: 0px;
}
</style>

View File

@@ -47,3 +47,9 @@ const localValue = computed({
</v-col>
</div>
</template>
<style scoped>
.v-input--radio-group {
padding-top: 0;
margin-top: 0;
}
</style>

View File

@@ -69,8 +69,9 @@ const items = computed<SelectItem[]>(() => {
</v-col>
</div>
</template>
<style>
<style scoped>
.v-select {
padding-top: 0px;
margin-top: 0px;
}
</style>

View File

@@ -46,10 +46,10 @@ const localValue = computed({
<template>
<div class="d-flex">
<v-col :cols="12 - sliderCols - 1" class="pl-0 d-flex align-center">
<v-col :cols="12 - sliderCols" class="pl-0 d-flex align-center">
<tooltipped-label :tooltip="tooltip" :label="label" />
</v-col>
<v-col :cols="sliderCols">
<v-col :cols="sliderCols - 1">
<v-slider
v-model="localValue"
dark

View File

@@ -41,7 +41,7 @@ const localValue = computed({
</v-col>
</div>
</template>
<style>
<style scoped>
.v-input--selection-controls {
margin-top: 0px;
}