Skip to content

Commit fa0b383

Browse files
Merge pull request #70 from CareerPlug/CP-14026
CP-14026 - Prevent horizontal overflow on mobile and adjust bottom padding
2 parents 720caf9 + 0a7a089 commit fa0b383

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

app/javascript/submission_form/form.vue

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -943,9 +943,10 @@ export default {
943943
const style = { backgroundColor: this.backgroundColor }
944944
945945
if (this.isMobile) {
946+
style.overflowX = 'hidden'
946947
style.minHeight = '100dvh'
947948
style.paddingTop = 'max(env(safe-area-inset-top), 1.5rem)'
948-
style.paddingBottom = 'max(env(safe-area-inset-bottom), 1.5rem)'
949+
style.paddingBottom = '6rem'
949950
}
950951
951952
return style

0 commit comments

Comments
 (0)