1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-10 20:39:48 +08:00

fixed styling of labels for select boxes (#672)

Very nice.
Thanks
This commit is contained in:
Sofia Calderon 2021-03-17 08:57:18 +11:00 committed by GitHub
parent 3959b51e10
commit 837135030e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1,6 +1,6 @@
<template>
<el-form>
{{ $t('route.role') }}
<label>{{ $t('route.role') }}</label>
<el-select
v-model="currentRoleUuid"
:filterable="isFiltrable"
@ -15,7 +15,7 @@
/>
</el-select>
{{ $t('route.organization') }}
<label>{{ $t('route.organization') }}</label>
<el-select
v-model="currentOrganizationUuid"
:filterable="isFiltrable"
@ -31,7 +31,7 @@
/>
</el-select>
{{ $t('route.warehouse') }}
<label>{{ $t('route.warehouse') }}</label>
<el-select
v-model="currentWarehouseUuid"
:filterable="isFiltrable"
@ -157,3 +157,11 @@ export default {
}
}
</script>
<style scoped>
label {
font-weight: 400;
display: block;
margin-top: 5%;
}
</style>