diff options
| author | Josh Kingsley <josh@joshkingsley.me> | 2025-10-26 22:59:39 +0200 |
|---|---|---|
| committer | Josh Kingsley <josh@joshkingsley.me> | 2025-10-26 22:59:39 +0200 |
| commit | 41b9d5840ddb6b484fc9f309a95d80f62832cfeb (patch) | |
| tree | 710ef3e016a0a8ff23f39247561587c5806581f8 /web/src/components/grid/index.css | |
| parent | 74592676444cdb9bdc2fef5dc8c483667b557a5e (diff) | |
feat(web): editing cells
Diffstat (limited to 'web/src/components/grid/index.css')
| -rw-r--r-- | web/src/components/grid/index.css | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/web/src/components/grid/index.css b/web/src/components/grid/index.css index 477d40e..93d6f6f 100644 --- a/web/src/components/grid/index.css +++ b/web/src/components/grid/index.css @@ -1,5 +1,6 @@ ntv-grid { display: block; + position: relative; --grid-bg-fill: var(--color-neutral-900); --grid-border-stroke: var(--color-neutral-700); @@ -17,3 +18,17 @@ ntv-grid { ntv-grid > canvas { display: block; } + +ntv-grid input[data-edit-cell] { + position: absolute; + vertical-align: baseline; + background: var(--color-neutral-800); + padding-right: 1px; + padding-bottom: 1px; + color: white; + text-align: center; +} + +ntv-grid input[data-edit-cell]:focus-visible { + outline: none; +} |
