a tool for shared writing and social publishing
0
fork

Configure Feed

Select the types of activity you want to include in your feed.

fix viewport scaling issue in ios

+5 -4
+1 -1
components/MobileFooter.tsx
··· 19 19 focusedBlock.entityType == "block" && 20 20 entity_set.permissions.write ? ( 21 21 <div 22 - className="w-full z-10 p-2 flex bg-bg-page" 22 + className="w-full z-10 p-2 flex bg-bg-page pwa-padding-bottom" 23 23 onMouseDown={(e) => { 24 24 if (e.currentTarget === e.target) e.preventDefault(); 25 25 }}
+4 -3
components/ViewportSizeLayout.tsx
··· 8 8 return ( 9 9 <div 10 10 style={{ 11 - height: isIOS() 12 - ? `calc(${viewheight}px + env(safe-area-inset-top)` 13 - : "calc(100% + env(safe-area-inset-top)", 11 + height: 12 + isIOS() && difference !== 0 13 + ? `calc(${viewheight}px + 10px)` 14 + : "calc(100% + env(safe-area-inset-top)", 14 15 }} 15 16 > 16 17 {props.children}