fix: mobile header and footer prevent flicker on ios safari (#660)
This commit is contained in:
parent
13887a33da
commit
1bb8963d98
3 changed files with 6 additions and 4 deletions
|
@ -101,5 +101,7 @@ export default defineConfig({
|
|||
return res
|
||||
}],
|
||||
['box-shadow-outline', { 'box-shadow': '0 0 0 1px var(--c-primary)' }],
|
||||
['mobile-padding-top', { 'padding-top': 'calc(4rem + 1px)' }], // in sm screen size header is fixed (instead of sticky) and parent have this padding, to prevent flickering in iOS Safari
|
||||
['mobile-padding-bottom', { 'padding-bottom': '3.5rem' }], // in sm screen size footer is fixed (instead of sticky) and parent have this padding, to prevent flickering in iOS Safari
|
||||
],
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue