Skip to content

Commit 101e724

Browse files
committed
fix: paddings
1 parent 8a5597a commit 101e724

File tree

1 file changed

+24
-6
lines changed

1 file changed

+24
-6
lines changed

web/src/components/EnvironmentForm.vue

Lines changed: 24 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -84,7 +84,7 @@
8484
v-if="extraVars != null"
8585
:items="extraVars"
8686
:items-per-page="-1"
87-
class="elevation-1"
87+
class="elevation-1 EnvironmentForm__fields"
8888
hide-default-footer
8989
:no-data-text="$t('noValues')"
9090
style="background: #8585850f"
@@ -142,7 +142,7 @@
142142
<v-data-table
143143
:items="env"
144144
:items-per-page="-1"
145-
class="elevation-1"
145+
class="elevation-1 EnvironmentForm__fields"
146146
hide-default-footer
147147
:no-data-text="$t('noValues')"
148148
style="background: #8585850f"
@@ -215,7 +215,7 @@
215215
<v-data-table
216216
:items="secrets.filter(s => !s.remove && s.type === 'var')"
217217
:items-per-page="-1"
218-
class="elevation-1"
218+
class="elevation-1 EnvironmentForm__fields"
219219
hide-default-footer
220220
:no-data-text="$t('noValues')"
221221
style="background: #8585850f"
@@ -274,7 +274,7 @@
274274
<v-data-table
275275
:items="secrets.filter(s => !s.remove && s.type === 'env')"
276276
:items-per-page="-1"
277-
class="elevation-1"
277+
class="elevation-1 EnvironmentForm__fields"
278278
hide-default-footer
279279
:no-data-text="$t('noValues')"
280280
style="background: #8585850f"
@@ -324,8 +324,26 @@
324324
</template>
325325

326326
<style lang="scss">
327-
.v-data-table__wrapper {
328-
327+
.vue-codemirror {
328+
border-radius: 6px !important;
329+
}
330+
.CodeMirror {
331+
border-radius: 5px !important;
332+
}
333+
.EnvironmentForm__fields {
334+
.v-data-table__wrapper {
335+
padding-left: 0 !important;
336+
padding-right: 0 !important;
337+
td {
338+
border-bottom: 0 !important;
339+
}
340+
td:last-child {
341+
padding-right: 15px !important;
342+
}
343+
td:first-child {
344+
padding-left: 5px !important;
345+
}
346+
}
329347
}
330348
</style>
331349

0 commit comments

Comments
 (0)