Skip to content

Commit f3a9d34

Browse files
committed
prevent images from stretching the table width
1 parent 97f0d07 commit f3a9d34

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

server/index_handler.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ var index = `<!DOCTYPE html><html>
1111
<meta http-equiv="Content-Type" content="text/html;charset=utf-8" />
1212
<title>GGG Tracker</title>
1313
<link rel="shortcut icon" href="static/favicon.ico" />
14-
<link rel="stylesheet" type="text/css" href="static/style.css?v3" />
14+
<link rel="stylesheet" type="text/css" href="static/style.css?v4" />
1515
<link rel="alternate" type="application/rss+xml" title="GGG Tracker Forum Feed" href="rss" />
1616
1717
<script src="https://ajax.googleapis.com/ajax/libs/jquery/3.1.0/jquery.min.js"></script>

server/static/style.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -214,6 +214,10 @@ td.body blockquote {
214214
padding: 0.5em 10px;
215215
}
216216

217+
td.body img {
218+
max-width: 100%;
219+
}
220+
217221
.spoilerHidden .spoilerContent {
218222
display: none;
219223
}

0 commit comments

Comments
 (0)