Skip to content

Commit 653a90f

Browse files
committed
DomDownloadServer: fix CSS margins
1 parent da1c7e3 commit 653a90f

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

domdownload-server/install_dir/upd_catalog.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ html_begin()
5151

5252
if [ "$TABLE_STYLE" = "1" ]; then
5353

54-
echo "<html><head><style>body {font-family: Arial, sans-serif;} .header {padding: 2px; padding-left: 20px; text-align: left; background: #000000; color: white; font-size: 20px;} table {border-collapse: collapse; width: 100%;} .c1 {width: 20%;} .c2 {width: 40%;} .c3 {width: 40%} .hash {font-family: 'Courier';} th, td {text-align: left; padding: 8px;} tr:nth-child(even) {background-color: #f2f2f2;} a.links:link {text-decoration: none; color:#0F52BA;} a.links:visited {text-decoration: none; color:#0F52BA;} a.links:hover {text-decoration: none; color:#0F52BA; font-weight: bold;} </style>" > "$FILE"
54+
echo "<html><head><style>body {margin: 0px; font-family: Arial, sans-serif;} .header {margin: -0px; border: 0px; padding: 1px; padding-left: 20px; text-align: left; background: #000000; color: white; font-size: 14px;} table {border-collapse: collapse; width: 100%;} .c1 {width: 20%;} .c2 {width: 40%;} .c3 {width: 40%} .hash {font-family: 'Courier';} th, td {text-align: left; padding: 8px;} tr:nth-child(even) {background-color: #f2f2f2;} a.links:link {text-decoration: none; color:#0F52BA;} a.links:visited {text-decoration: none; color:#0F52BA;} a.links:hover {text-decoration: none; color:#0F52BA; font-weight: bold;} </style>" > "$FILE"
5555
echo "<title>$2</title></head><body> <div class=\"header\"><h1>$2</h1></div><br><table>" >> "$FILE"
5656
echo "<tr> <th class=\"c1\">$3</th> <th class=\"c2\">$4</th> <th class=\"c3\">$5</th> </tr>" >> "$FILE"
5757

0 commit comments

Comments
 (0)