Warning: file_get_contents(/data/phpspider/zhask/data//catemap/7/css/33.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181

Warning: file_get_contents(/data/phpspider/zhask/data//catemap/1/vue.js/6.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
Css Vuetify在v形槽上添加样式:标签_Css_Vue.js_Vuetify.js_V Slot - Fatal编程技术网

Css Vuetify在v形槽上添加样式:标签

Css Vuetify在v形槽上添加样式:标签,css,vue.js,vuetify.js,v-slot,Css,Vue.js,Vuetify.js,V Slot,我有如下的Vuetify代码 <v-radio-group v-model="gender" column class="radio-group-full-width"> <v-radio value="Boy"> <template v-slot:label> <v-textarea v-model="answer" v-validate="'required'" required

我有如下的Vuetify代码

<v-radio-group v-model="gender" column class="radio-group-full-width">
  <v-radio value="Boy">
    <template v-slot:label>
      <v-textarea
        v-model="answer"
        v-validate="'required'"
        required
        :error-messages="
          errors.collect('form-create.answer')
        "
        label="Answer 1"
        data-vv-name="answer"
        type="text"
      ></v-textarea>
    </template>
  </v-radio>
</v-radio-group>

问题是我希望文本区域为全宽,但vuetify模板插槽生成的标签标记阻止了这一点。你知道我该怎么解决这个问题吗


答案对我来说很有用,只是对大括号做了一点修改:

.radio-full-width >>> label {
  width: 100%;
}

答案对我来说很有用,只是对支架做了一点修改:

.radio-full-width >>> label {
  width: 100%;
}