Skip to content

Commit 7645e67

Browse files
nethewccbrown
authored andcommitted
Update style.css to solve too wide title column (#13)
* Update style.css to solve too wide title column Solves too wide title column like in the case of https://www.pathofexile.com/forum/view-post/14987094 Also makes the title always on one line - nowrap, which keeps the line height always the same. You can reconsider this if you want to. * remove nowrap for now * update css cache buster
1 parent 4201df9 commit 7645e67

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-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?v2" />
14+
<link rel="stylesheet" type="text/css" href="static/style.css?v3" />
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: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -197,6 +197,11 @@ td.icon img {
197197
transform: translate(-50%, -50%);
198198
}
199199

200+
td.title {
201+
max-width: 450px;
202+
overflow: hidden;
203+
}
204+
200205
td.body {
201206
background-color: #262626;
202207
padding: 10px;

0 commit comments

Comments
 (0)