feat(base): add right-side scroll headroom on inline embed grid

Mirror the leftward padding with --embed-grid-pad-right = extendRight,
applied as padding-right on .grid. The user can now pan past the last
column into empty space — same shape as Notion's behavior. Standalone
full-page bases are unaffected (var unset → 0).
This commit is contained in:
Philipinho
2026-04-27 04:44:47 +01:00
parent 583d2d37c4
commit 00e9d1d724
2 changed files with 8 additions and 0 deletions
@@ -29,6 +29,10 @@
* scrollable region — the user can pan left into it. Standalone
* full-page bases never set the var, so it's a no-op there. */
padding-left: var(--embed-grid-pad-left, 0);
/* Symmetric right-side padding lets the user scroll past the last
* column into empty space, so wide tables don't end abruptly at
* the viewport edge. */
padding-right: var(--embed-grid-pad-right, 0);
}
.headerRow {