Skip to content

Commit 1ee22ec

Browse files
committed
make it pretty
1 parent 6f3befb commit 1ee22ec

File tree

1 file changed

+8
-10
lines changed

1 file changed

+8
-10
lines changed

photon-client/src/components/cameras/CameraCalibrationInfoCard.vue

Lines changed: 8 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -127,30 +127,30 @@ const calibrationImageURL = (index: number) =>
127127
</script>
128128
<template>
129129
<v-card color="surface" dark>
130-
<div class="d-flex flex-wrap pt-2 pl-2 pr-2">
130+
<div class="d-flex flex-wrap pt-2 pl-2 pr-2 align-center">
131131
<v-col cols="12" md="6">
132132
<v-card-title class="pa-0"> Calibration Details </v-card-title>
133133
</v-col>
134-
<v-col cols="6" md="3" class="d-flex align-center pt-0 pt-md-3 pr-6 pr-md-3">
134+
<v-col cols="12" md="6" class="d-flex align-center pt-0 pt-md-3">
135135
<v-btn
136136
color="error"
137137
:disabled="!currentCalibrationCoeffs"
138-
style="width: 100%"
138+
class="mr-2"
139+
style="flex: 1"
139140
:variant="theme.global.name.value === 'LightTheme' ? 'elevated' : 'outlined'"
140141
@click="removeCalibration"
141142
>
142143
<v-icon start size="large">mdi-delete</v-icon>
143144
<span>Delete</span>
144145
</v-btn>
145-
</v-col>
146-
<v-col cols="6" md="3" class="d-flex align-center pt-0 pt-md-3 pl-6 pl-md-3">
147146
<v-btn
148147
color="buttonPassive"
149-
style="width: 100%"
148+
class="mr-2"
149+
style="flex: 1"
150150
:variant="theme.global.name.value === 'LightTheme' ? 'elevated' : 'outlined'"
151151
@click="openUploadPhotonCalibJsonPrompt"
152152
>
153-
<v-icon start size="large"> mdi-import</v-icon>
153+
<v-icon start size="large">mdi-import</v-icon>
154154
<span>Import</span>
155155
</v-btn>
156156
<input
@@ -160,12 +160,10 @@ const calibrationImageURL = (index: number) =>
160160
style="display: none"
161161
@change="importCalibration"
162162
/>
163-
</v-col>
164-
<v-col cols="6" md="3" class="d-flex align-center pt-0 pt-md-3 pr-6 pr-md-3">
165163
<v-btn
166164
color="buttonPassive"
167165
:disabled="!currentCalibrationCoeffs"
168-
style="width: 100%"
166+
style="flex: 1"
169167
:variant="theme.global.name.value === 'LightTheme' ? 'elevated' : 'outlined'"
170168
@click="openExportCalibrationPrompt"
171169
>

0 commit comments

Comments
 (0)