File tree Expand file tree Collapse file tree 1 file changed +6
-3
lines changed
@kiva/kv-components/src/vue Expand file tree Collapse file tree 1 file changed +6
-3
lines changed Original file line number Diff line number Diff line change @@ -195,7 +195,10 @@ export default {
195
195
return false ;
196
196
},
197
197
},
198
- hideHeadlineBg: {
198
+ /**
199
+ * Whether to hide the background of the headline section on mobile (e.g., in Borrower Profile Sidesheet)
200
+ * */
201
+ hideHeadlineBgOnMobile: {
199
202
type: Boolean ,
200
203
default: false ,
201
204
},
@@ -207,7 +210,7 @@ export default {
207
210
kvTrackFunction ,
208
211
trackEventCategory ,
209
212
widthDimensions ,
210
- hideHeadlineBg ,
213
+ hideHeadlineBgOnMobile ,
211
214
} = toRefs (props);
212
215
213
216
const open = ref (false );
@@ -225,7 +228,7 @@ export default {
225
228
226
229
const contentHeight = computed (() => {
227
230
const height = windowHeight .value
228
- - (hideHeadlineBg .value ? 0 : heights .headline )
231
+ - (hideHeadlineBgOnMobile .value ? 0 : heights .headline )
229
232
- heights .controls ;
230
233
return Math .max (height, 0 );
231
234
});
You can’t perform that action at this time.
0 commit comments