diff --git a/plugins/airtable/src/globals.css b/plugins/airtable/src/globals.css index 016e138f..450f6707 100644 --- a/plugins/airtable/src/globals.css +++ b/plugins/airtable/src/globals.css @@ -38,6 +38,26 @@ flex-direction: column; gap: 15px; } + + .scroll-fade { + flex-shrink: 0; + height: 45px; + width: 100%; + display: block; + overflow: visible; + z-index: 10; + position: absolute; + left: 0; + bottom: 63px; + } + + [data-framer-theme="light"] .scroll-fade { + background: linear-gradient(to bottom, transparent, white); + } + + [data-framer-theme="dark"] .scroll-fade { + background: linear-gradient(180deg, rgba(18, 18, 18, 0) 0%, rgb(17, 17, 17) 97.8%); + } } #root { diff --git a/plugins/airtable/src/pages/MapTableFields.tsx b/plugins/airtable/src/pages/MapTableFields.tsx index 7bc25cf8..b72bcaa8 100644 --- a/plugins/airtable/src/pages/MapTableFields.tsx +++ b/plugins/airtable/src/pages/MapTableFields.tsx @@ -237,9 +237,7 @@ export function MapTableFieldsPage({ baseId, tableId, pluginContext, onSubmit, i ) })} - {fieldConfig.length > 6 && !isAtBottom && ( -
- )} + {fieldConfig.length > 6 && !isAtBottom &&
}