mirror of
https://github.com/PhotonVision/photonvision
synced 2026-06-23 01:21:40 +00:00
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   - Conforms the calibration details modal to overall styling and spacing standards   (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:
@@ -69,3 +69,8 @@ const handleKeydown = ({ key }) => {
|
||||
</v-col>
|
||||
</div>
|
||||
</template>
|
||||
<style scoped>
|
||||
.v-text-field {
|
||||
margin-top: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -47,3 +47,9 @@ const localValue = computed({
|
||||
</v-col>
|
||||
</div>
|
||||
</template>
|
||||
<style scoped>
|
||||
.v-input--radio-group {
|
||||
padding-top: 0;
|
||||
margin-top: 0;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -69,8 +69,9 @@ const items = computed<SelectItem[]>(() => {
|
||||
</v-col>
|
||||
</div>
|
||||
</template>
|
||||
<style>
|
||||
<style scoped>
|
||||
.v-select {
|
||||
padding-top: 0px;
|
||||
margin-top: 0px;
|
||||
}
|
||||
</style>
|
||||
|
||||
@@ -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
|
||||
|
||||
@@ -41,7 +41,7 @@ const localValue = computed({
|
||||
</v-col>
|
||||
</div>
|
||||
</template>
|
||||
<style>
|
||||
<style scoped>
|
||||
.v-input--selection-controls {
|
||||
margin-top: 0px;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user