summaryrefslogtreecommitdiff
path: root/web/src/components/grid/index.css
diff options
context:
space:
mode:
Diffstat (limited to 'web/src/components/grid/index.css')
-rw-r--r--web/src/components/grid/index.css15
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;
+}