# HG changeset patch # User domruf # Date 1508970994 -7200 # Node ID ed5f5dd988235eb7b217a9d38c34847b9aae778d # Parent b297ba29d93e896fae26996c29bae682e5628f98 less: clean up unnecessary diff line-no styling - less spacing still leave room to show the comment bubble with hiding the line number - looks good w/o letter-spacing - bootstrap already sets box-sizing: border-box; - it is a no need for cursor: pointer - width: 100% makes no difference diff -r b297ba29d93e -r ed5f5dd98823 kallithea/public/css/style.css --- a/kallithea/public/css/style.css Wed Oct 25 22:47:16 2017 +0200 +++ b/kallithea/public/css/style.css Thu Oct 26 00:36:34 2017 +0200 @@ -2090,13 +2090,9 @@ table.code-difftable .lineno a { color: #aaa !important; font: 11px Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace !important; - letter-spacing: -1px; - padding-left: 10px; - padding-right: 8px; - box-sizing: border-box; - cursor: pointer; + padding-left: 6px; + padding-right: 6px; display: block; - width: 100%; } table.code-difftable .line:hover .lineno a { color: #333 !important; diff -r b297ba29d93e -r ed5f5dd98823 kallithea/public/less/kallithea-diff.less --- a/kallithea/public/less/kallithea-diff.less Wed Oct 25 22:47:16 2017 +0200 +++ b/kallithea/public/less/kallithea-diff.less Thu Oct 26 00:36:34 2017 +0200 @@ -155,13 +155,9 @@ table.code-difftable .lineno a { color: #aaa !important; font: 11px Lucida Console, Consolas, Monaco, Inconsolata, Liberation Mono, monospace !important; - letter-spacing: -1px; - padding-left: 10px; - padding-right: 8px; - box-sizing: border-box; - cursor: pointer; + padding-left: 6px; + padding-right: 6px; display: block; - width: 100%; } table.code-difftable .line:hover .lineno a { color: #333 !important;