e90dbdb30604a8ea020036a3623ce74a1062b95e hiram Tue Mar 8 10:16:23 2022 -0800 better position for the borderOne rules refs #28930 diff --git src/hg/htdocs/style/gar.css src/hg/htdocs/style/gar.css index a00975d..cf413cc 100644 --- src/hg/htdocs/style/gar.css +++ src/hg/htdocs/style/gar.css @@ -37,57 +37,57 @@ text-align: left; background-color: #6688aa; color: #ffff00; } /* CSS equivalent for border=1 in old style html * declare a table as: */ .borderOne { border-collapse: collapse; /* table-layout: fixed; */ width: 100%; } +.borderOne th, +.borderOne td { + border: 1px solid black; + word-wrap: anywhere; + /* overflow-wrap: anywhere; */ + overflow: hidden; + height: 40px; + /* overflow: hidden; */ +} + /* the large table begins life as display none, * onload will change it to 'table' -- saves time on Edge/Chrome */ .cladeTable { table-layout: fixed; display: none; width: auto; margin: auto; } /* allow content in table header cells to overflow to allow tooltip * legend display outside the cell */ .cladeTable thead tr th { overflow: visible; } -.borderOne th, -.borderOne td { - border: 1px solid black; - word-wrap: anywhere; - /* overflow-wrap: anywhere; */ - overflow: hidden; - height: 40px; - /* overflow: hidden; */ -} - .gak { display: table-row; } .gar { display: table-row; } .colComName, .colGComName { display: table-cell; /* width: 90px; */ width: 10em; }