From b99b67b74affaf185de343da65dd817352dd025e Mon Sep 17 00:00:00 2001 From: Randy Wilson Date: Thu, 18 Jul 2024 10:57:09 -0600 Subject: [PATCH] Adjustable width between source and record panes. --- gx-view.css | 22 +++++++++++++++++++++- index.html | 8 +++----- 2 files changed, 24 insertions(+), 6 deletions(-) diff --git a/gx-view.css b/gx-view.css index 5ae0062..160ebc4 100644 --- a/gx-view.css +++ b/gx-view.css @@ -91,4 +91,24 @@ pre { font-size: 20px; font-weight: normal; text-decoration: none; -} \ No newline at end of file +} + +#source-pane { + overflow: auto; + resize: horizontal; +} +#source-record-container { + /* make the two divs inside of this div be side-by-side. */ + display: flex; + flex-wrap: nowrap; +} +#source-pane { + overflow: auto; + resize: horizontal; + width: 33%; + min-width: 100px; +} +#record-pane { + flex-grow: 1; + min-width: 100px; +} diff --git a/index.html b/index.html index 4a9b6ec..f0731ff 100644 --- a/index.html +++ b/index.html @@ -3044,7 +3044,6 @@ $("#new-person-fact-type").on("change", changeFactType); $("#edit-person-fact-type").on("change", handleEditFactTypeChange); - $(document).keydown(handleEditorKeydown); dragElement(document.getElementById("new-person")); @@ -3229,8 +3228,8 @@ -
-
+
+
 
@@ -3239,7 +3238,7 @@
-
+
@@ -4104,6 +4103,5 @@
-