File tree Expand file tree Collapse file tree 1 file changed +14
-37
lines changed Expand file tree Collapse file tree 1 file changed +14
-37
lines changed Original file line number Diff line number Diff line change 1
1
<template >
2
2
<div >
3
3
<span v-if =" title" class =" EditorField-Title" >{{ title }}</span >
4
- <div class =" EditorField-Form" >
5
- <v-textarea
6
- v-model =" value"
7
- :hint =" hint"
8
- :label =" label"
9
- :placeholder =" placeholder"
10
- background-color =" white"
11
- class =" elevation-0"
12
- solo
13
- flat
14
- outlined
15
- />
16
- <content-card-editor-button
17
- v-if =" iconName"
18
- class =" Button"
19
- :icon-name =" iconName"
20
- />
21
- </div >
4
+ <v-textarea
5
+ v-model =" value"
6
+ :hint =" hint"
7
+ :label =" label"
8
+ :placeholder =" placeholder"
9
+ background-color =" white"
10
+ class =" Textarea"
11
+ solo
12
+ flat
13
+ outlined
14
+ />
22
15
</div >
23
16
</template >
24
17
25
18
<script lang="ts">
26
19
import Vue from ' vue'
27
- import ContentCardEditorButton from ' @/components/ContentCardEditorButton.vue'
28
20
29
21
type DataType = {
30
22
value: string
31
23
}
32
24
33
25
export default Vue .extend ({
34
- components: { ContentCardEditorButton },
35
26
props: {
36
27
title: {
37
28
type: String ,
@@ -52,11 +43,6 @@ export default Vue.extend({
52
43
type: String ,
53
44
required: false ,
54
45
default: ' '
55
- },
56
- iconName: {
57
- type: String ,
58
- required: false ,
59
- default: ' '
60
46
}
61
47
},
62
48
data(): DataType {
@@ -67,24 +53,15 @@ export default Vue.extend({
67
53
})
68
54
</script >
69
55
70
- <style lang="scss" scoped >
56
+ <style lang="scss">
71
57
.EditorField-Title {
72
58
display : block ;
73
59
font-size : 16px ;
74
60
font-weight : bold ;
75
61
color : $color-white ;
76
62
margin-bottom : 4px ;
77
63
}
78
- .EditorField-Form {
79
- display : flex ;
80
-
81
- .Textarea {
82
- box-shadow : inset 2px 2px 5px rgba (0 , 0 , 0 , 0.3 );
83
- }
84
-
85
- .Button {
86
- flex : 0 1 auto ;
87
- margin-left : 8px ;
88
- }
64
+ .v-input__slot {
65
+ box-shadow : inset 2px 2px 5px rgba (0 , 0 , 0 , 0.3 );
89
66
}
90
67
</style >
You can’t perform that action at this time.
0 commit comments