From: Karl O. Pinc Date: Sat, 21 Sep 2024 03:27:05 +0000 (-0500) Subject: Align column headings left, just like column data X-Git-Url: https://papio.biology.duke.edu/gitweb/?a=commitdiff_plain;h=c7d797d33bada37e05b9d0555839637d5285a798;p=pgwui_sql Align column headings left, just like column data --- 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 */