refs #59 Use deep selector for element-ui tag
This commit is contained in:
parent
e0886921d8
commit
40d293f7b4
|
@ -3,7 +3,7 @@
|
||||||
title="New Toot"
|
title="New Toot"
|
||||||
:visible.sync="newTootModal"
|
:visible.sync="newTootModal"
|
||||||
width="400px"
|
width="400px"
|
||||||
custom-class="new-toot-modal" v-on:submit.prevent="toot">
|
class="new-toot-modal" v-on:submit.prevent="toot">
|
||||||
<el-form :model="tootForm">
|
<el-form :model="tootForm">
|
||||||
<div class="body">
|
<div class="body">
|
||||||
<textarea v-model="tootForm.body" ref="body" @keyup.ctrl.enter.exact="toot" @keyup.meta.enter.exact="toot"></textarea>
|
<textarea v-model="tootForm.body" ref="body" @keyup.ctrl.enter.exact="toot" @keyup.meta.enter.exact="toot"></textarea>
|
||||||
|
@ -72,8 +72,8 @@ export default {
|
||||||
}
|
}
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
<style lang="scss">
|
<style lang="scss" scoped>
|
||||||
.new-toot-modal {
|
.new-toot-modal /deep/ {
|
||||||
.el-dialog__header {
|
.el-dialog__header {
|
||||||
background-color: #4a5664;
|
background-color: #4a5664;
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue