summaryrefslogtreecommitdiff
path: root/web/src/index.css
diff options
context:
space:
mode:
authorTristan Cacqueray <tdecacqu@redhat.com>2019-08-16 12:53:42 +0000
committerTristan Cacqueray <tdecacqu@redhat.com>2019-08-16 13:10:50 +0000
commitf9bb946c54329b08048eff061fa646936588303d (patch)
treedb2db62965873a18b1aa4a909570f5c19c35b470 /web/src/index.css
parentea6a6721d2910a67fa1a7481910b9b5eee7a12f5 (diff)
downloadzuul-f9bb946c54329b08048eff061fa646936588303d.tar.gz
web: logfile do not use anchor for line selection
This change removes lines number link and implements a manual click handler to update the window hash so that line doesn't move under the navbar. Change-Id: Ia51d5f7704cacfb909ffae02305b0aff121f741b
Diffstat (limited to 'web/src/index.css')
-rw-r--r--web/src/index.css4
1 files changed, 4 insertions, 0 deletions
diff --git a/web/src/index.css b/web/src/index.css
index 5755e886e..b638a4600 100644
--- a/web/src/index.css
+++ b/web/src/index.css
@@ -247,12 +247,16 @@ pre.zuul-log-output
}
.zuul-log-output .line-number
{
+ display: inline;
+ -webkit-touch-callout: none;
+ -khtml-user-select: none;
-webkit-user-select: none;
-moz-user-select: none;
-ms-user-select: none;
user-select: none;
text-align: right;
padding-right: 1em;
+ cursor: pointer;
color: #555;
}