sedrick-keh-tri commited on
Commit
b0c0467
·
1 Parent(s): 6c91704

read only cells

Browse files
Files changed (1) hide show
  1. app.py +9 -0
app.py CHANGED
@@ -122,6 +122,15 @@ css = """
122
  table-layout: fixed !important;
123
  width: 100% !important;
124
  }
 
 
 
 
 
 
 
 
 
125
  """
126
 
127
  with gr.Blocks(title="VLA Foundry Database Viewer", css=css) as demo:
 
122
  table-layout: fixed !important;
123
  width: 100% !important;
124
  }
125
+
126
+ /* Prevent editing - make cells read-only */
127
+ .table-wrap input,
128
+ .table-wrap textarea {
129
+ pointer-events: none !important;
130
+ background-color: transparent !important;
131
+ border: none !important;
132
+ cursor: text !important;
133
+ }
134
  """
135
 
136
  with gr.Blocks(title="VLA Foundry Database Viewer", css=css) as demo: