Skip to content

Commit b12f476

Browse files
luizhf42otavio
authored andcommitted
fix(ui): improve Name fields' spacing in Key Add/Edit
1 parent 4191cf5 commit b12f476

File tree

4 files changed

+10
-2
lines changed

4 files changed

+10
-2
lines changed

ui/src/components/PrivateKeys/PrivateKeyAdd.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
label="Key name"
3131
placeholder="Name used to identify the private key"
3232
data-test="name-field"
33+
class="my-3"
34+
hide-details="auto"
3335
/>
3436

3537
<FileTextComponent

ui/src/components/PrivateKeys/PrivateKeyEdit.vue

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -30,6 +30,8 @@
3030
label="Key name"
3131
placeholder="Name used to identify the private key"
3232
data-test="name-field"
33+
class="my-3"
34+
hide-details="auto"
3335
/>
3436

3537
<FileTextComponent

ui/src/components/PublicKeys/PublicKeyAdd.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,8 @@
4848
label="Name"
4949
placeholder="Name used to identify the public key"
5050
data-test="name-field"
51+
class="mb-5"
52+
hide-details="auto"
5153
/>
5254
</v-row>
5355

@@ -62,7 +64,7 @@
6264
/>
6365
</v-row>
6466

65-
<v-row class="mt-1 px-3">
67+
<v-row class="mt-2 px-3">
6668
<v-text-field
6769
v-if="choiceUsername === 'username'"
6870
v-model="username"

ui/src/components/PublicKeys/PublicKeyEdit.vue

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,6 +37,8 @@
3737
:error-messages="nameError"
3838
required
3939
data-test="name-field"
40+
class="mb-5"
41+
hide-details="auto"
4042
/>
4143
</v-row>
4244

@@ -51,7 +53,7 @@
5153
/>
5254
</v-row>
5355

54-
<v-row class="mt-1 px-3">
56+
<v-row class="mt-2 px-3">
5557
<v-text-field
5658
v-if="choiceUsername === 'username'"
5759
v-model="username"

0 commit comments

Comments
 (0)