From c7d797d33bada37e05b9d0555839637d5285a798 Mon Sep 17 00:00:00 2001 From: "Karl O. Pinc" Date: Fri, 20 Sep 2024 22:27:05 -0500 Subject: [PATCH] Align column headings left, just like column data --- src/pgwui_sql/static/pgwui_sql.css | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/src/pgwui_sql/static/pgwui_sql.css b/src/pgwui_sql/static/pgwui_sql.css index 9058123..e9bc875 100644 --- a/src/pgwui_sql/static/pgwui_sql.css +++ b/src/pgwui_sql/static/pgwui_sql.css @@ -53,7 +53,8 @@ textarea.sqltext { height: 40em; So don't try. Instead, set the background to "white", the same that we set in the body's background. And then assume that all the backgrounds in-between are transparent. */ -.stickyheading { position: sticky; /* attach to heading */ +.stickyheading { position: sticky; /* attach to heading */ top: 0; - background-color: white; } /* kludge, see above */ + background-color: white; /* kludge, see above */ + text-align: left; } .stickycontainer { overflow-y: clip; } /* attach to heading's container */ -- 2.34.1