18
18
class =" mobile-title-block pa-3 d-flex align-center justify-space-between full-width"
19
19
>
20
20
<div style =" min-width : 36px " >
21
- <v-btn v-if =" back" icon color =" textBlack2" @click =" back" >
21
+ <v-btn
22
+ v-if =" back"
23
+ icon
24
+ color =" textBlack2"
25
+ @click =" back"
26
+ >
22
27
<v-icon size =" 24" >
23
28
mdi-arrow-left
24
29
</v-icon >
31
36
{{ title }}
32
37
</h3 >
33
38
<div style =" min-width : 36px " >
34
- <v-btn v-if =" close" icon color =" textBlack2" @click =" close" >
35
- <v-icon size =" 24" color =" textBlack2" >
39
+ <v-btn
40
+ v-if =" close"
41
+ icon
42
+ color =" textBlack2"
43
+ @click =" close"
44
+ >
45
+ <v-icon
46
+ size =" 24"
47
+ color =" textBlack2"
48
+ >
36
49
mdi-close
37
50
</v-icon >
38
51
</v-btn >
78
91
]"
79
92
@click =" close"
80
93
>
81
- <v-icon size =" 24" color =" textBlack2" >
94
+ <v-icon
95
+ size =" 24"
96
+ color =" textBlack2"
97
+ >
82
98
mdi-close
83
99
</v-icon >
84
100
</v-btn >
85
- <v-container :class =" ['ma-0 pa-0', isMobile ? 'full-height' : '']" fluid >
101
+ <v-container
102
+ :class =" ['ma-0 pa-0', isMobile ? 'full-height' : '']"
103
+ fluid
104
+ >
86
105
<!-- ===================================================================================== -->
87
106
<!-- White sheet (displays on the overlay - size is based on the contentSize prop) -->
88
107
<!-- ===================================================================================== -->
106
125
isMobile
107
126
? 'mew-heading-2 ml-3'
108
127
: isMobile && !back
109
- ? 'mew-heading-2 ml-4'
110
- : 'mew-subtitle',
128
+ ? 'mew-heading-2 ml-4'
129
+ : 'mew-subtitle',
111
130
]"
112
131
>
113
132
{{ title }}
131
150
<!-- ===================================================================================== -->
132
151
<!-- Footer -->
133
152
<!-- ===================================================================================== -->
134
- <v-row justify =" center" class =" ma-0 py-8 textMedium--text" >
153
+ <v-row
154
+ justify =" center"
155
+ class =" ma-0 py-8 textMedium--text"
156
+ >
135
157
{{ footer.text }}
136
158
<a
137
159
v-if =" footer && footer.linkTitle && footer.link"
150
172
151
173
<script >
152
174
const sizes = {
153
- small: " small" ,
154
- medium: " medium" ,
155
- large: " large" ,
156
- xlarge: " xlarge" ,
175
+ small: ' small' ,
176
+ medium: ' medium' ,
177
+ large: ' large' ,
178
+ xlarge: ' xlarge' ,
157
179
};
158
180
159
181
export default {
160
- name: " MewOverlay" ,
182
+ name: ' MewOverlay' ,
161
183
props: {
162
184
/**
163
185
* Displays on the outside bottom of the white sheet.
@@ -184,7 +206,7 @@ export default {
184
206
*/
185
207
title: {
186
208
type: String ,
187
- default: " " ,
209
+ default: ' ' ,
188
210
},
189
211
/**
190
212
* Function that gets triggered
@@ -212,7 +234,7 @@ export default {
212
234
*/
213
235
contentSize: {
214
236
type: String ,
215
- default: " small" ,
237
+ default: ' small' ,
216
238
},
217
239
},
218
240
data () {
@@ -228,18 +250,18 @@ export default {
228
250
if (this .contentSize ) {
229
251
switch (this .contentSize .toLowerCase ()) {
230
252
case sizes .small :
231
- return " 384px" ;
253
+ return ' 384px' ;
232
254
case sizes .medium :
233
- return " 504px" ;
255
+ return ' 504px' ;
234
256
case sizes .large :
235
- return " 624px" ;
257
+ return ' 624px' ;
236
258
case sizes .xlarge :
237
- return " 744px" ;
259
+ return ' 744px' ;
238
260
default :
239
- return " 384px" ;
261
+ return ' 384px' ;
240
262
}
241
263
}
242
- return " 384px" ;
264
+ return ' 384px' ;
243
265
},
244
266
},
245
267
watch: {
@@ -261,12 +283,12 @@ export default {
261
283
methods: {
262
284
// Remove html element's side bar to fix double sidebar bug
263
285
removeHtmlScrollbar () {
264
- const htmlElement = document .querySelector (" html" );
265
- htmlElement .style .overflow = " hidden" ;
286
+ const htmlElement = document .querySelector (' html' );
287
+ htmlElement .style .overflow = ' hidden' ;
266
288
},
267
289
// Restore html element's side bar on exit
268
290
restoreHtmlScrollbar () {
269
- const htmlElement = document .querySelector (" html" );
291
+ const htmlElement = document .querySelector (' html' );
270
292
htmlElement .style .overflow = null ;
271
293
},
272
294
},
1 commit comments
github-actions[bot] commentedon Feb 7, 2023
Copy of this build can be found at
https://mewcomponents.mewbuilds.com/7cbb636fc70f5537ea0b0a6c6f3113005872b56a/index.html
https://www.cloudflare-ipfs.com/ipfs/
Virus Total analysis
https://www.virustotal.com/gui/file/f2714666fe2a8c04f1e5a7e86fab6910c6646f3262bc11426e404f274019c6ba