File tree Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Expand file tree Collapse file tree 3 files changed +20
-7
lines changed Original file line number Diff line number Diff line change @@ -71,7 +71,7 @@ export default class ActionButton extends Vue {
71
71
display : inline-block ;
72
72
width : 100% ;
73
73
font-weight : 600 ;
74
- padding : 0.8em 1 em ;
74
+ padding : 0.8em 1.5 em ;
75
75
border-radius : 0.5em ;
76
76
border : none ;
77
77
color : $white ;
@@ -97,7 +97,7 @@ export default class ActionButton extends Vue {
97
97
& -outline {
98
98
background-color : $white ;
99
99
color : $primary ;
100
- border : 2 px solid currentColor ;
100
+ box-shadow : 0 0 0 2 px currentColor inset ;
101
101
}
102
102
& -text {
103
103
background-color : transparent ;
Original file line number Diff line number Diff line change @@ -190,6 +190,9 @@ export default Vue.extend({
190
190
& ::placeholder {
191
191
color : $gray-2 ;
192
192
}
193
+ & [type = ' datetime-local' ] {
194
+ padding : 12px 16px ;
195
+ }
193
196
}
194
197
.labelText {
195
198
display : block ;
Original file line number Diff line number Diff line change 6
6
@click =" showContent ? (showContent = false) : $emit('close')"
7
7
>
8
8
<transition name =" modalContentTransition" @after-leave =" $emit('close')" >
9
- <div v-if =" showContent" class =" modalContent" @click.stop >
9
+ <div
10
+ v-if =" showContent"
11
+ :class =" ['modalContent', wide ? 'wide' : '']"
12
+ @click.stop
13
+ >
10
14
<div class =" closeButton" @click =" showContent = false" >
11
15
<CloseIcon />
12
16
</div >
@@ -41,6 +45,10 @@ export default Vue.extend({
41
45
type: Boolean ,
42
46
default: false ,
43
47
},
48
+ wide: {
49
+ type: Boolean ,
50
+ default: false ,
51
+ },
44
52
},
45
53
data(): {
46
54
showContent: boolean
@@ -75,17 +83,19 @@ export default Vue.extend({
75
83
}
76
84
.modalContent {
77
85
position : absolute ;
78
- top : 0 ;
86
+ top : 50 % ;
79
87
left : 50% ;
80
88
width : 80% ;
81
89
max-width : 520px ;
82
- min-height : 50% ;
83
90
max-height : calc (100vh - 100px );
84
91
padding : 22px 10px 40px ;
85
- margin : 50px 0 ;
86
92
background-color : $white ;
87
93
border-radius : 10px ;
88
- transform : translate (-50% , 0 );
94
+ transform : translate (-50% , -50% );
95
+
96
+ & .wide {
97
+ max-width : 800px ;
98
+ }
89
99
90
100
& Transition {
91
101
& -enter ,
You can’t perform that action at this time.
0 commit comments