1
0
mirror of https://github.com/PanJiaChen/vue-element-admin.git synced 2025-08-13 23:20:12 +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> <template>
<el-form> <el-form>
{{ $t('route.role') }} <label>{{ $t('route.role') }}</label>
<el-select <el-select
v-model="currentRoleUuid" v-model="currentRoleUuid"
:filterable="isFiltrable" :filterable="isFiltrable"
@ -15,7 +15,7 @@
/> />
</el-select> </el-select>
{{ $t('route.organization') }} <label>{{ $t('route.organization') }}</label>
<el-select <el-select
v-model="currentOrganizationUuid" v-model="currentOrganizationUuid"
:filterable="isFiltrable" :filterable="isFiltrable"
@ -31,7 +31,7 @@
/> />
</el-select> </el-select>
{{ $t('route.warehouse') }} <label>{{ $t('route.warehouse') }}</label>
<el-select <el-select
v-model="currentWarehouseUuid" v-model="currentWarehouseUuid"
:filterable="isFiltrable" :filterable="isFiltrable"
@ -157,3 +157,11 @@ export default {
} }
} }
</script> </script>
<style scoped>
label {
font-weight: 400;
display: block;
margin-top: 5%;
}
</style>