# HG changeset patch # User domruf # Date 2017-10-25 23:45:31 # Node ID 7f45efdd3f12f181c3e5eba3eff12a7649e6fa9e # Parent 4d339efccf6444fd62e2ab44663d3f368bb931bc less: remove unnecessary .cur_cs The class is only used once on a h6, which already is bold and has top and bottom 10px margin. The 2px margin left and right are not really helpful. diff --git a/kallithea/public/css/style.css b/kallithea/public/css/style.css --- a/kallithea/public/css/style.css +++ b/kallithea/public/css/style.css @@ -1936,10 +1936,6 @@ input.perm_filter { .cs_files .progress { margin-bottom: 0; } -.cs_files .cur_cs { - margin: 10px 2px; - font-weight: bold; -} .cs_files .node { float: left; } diff --git a/kallithea/public/less/kallithea-diff.less b/kallithea/public/less/kallithea-diff.less --- a/kallithea/public/less/kallithea-diff.less +++ b/kallithea/public/less/kallithea-diff.less @@ -1,10 +1,6 @@ .cs_files .progress { margin-bottom: 0; } -.cs_files .cur_cs { - margin: 10px 2px; - font-weight: bold; -} .cs_files .node { float: left; } diff --git a/kallithea/templates/changeset/changeset_range.html b/kallithea/templates/changeset/changeset_range.html --- a/kallithea/templates/changeset/changeset_range.html +++ b/kallithea/templates/changeset/changeset_range.html @@ -50,7 +50,7 @@ ${self.repo_context_bar('changelog')}

${_('Files affected')}

%for cs in c.cs_ranges: -
${h.link_to(h.show_id(cs),h.url('changeset_home',repo_name=c.cs_repo.repo_name,revision=cs.raw_id))}
+
${h.link_to(h.show_id(cs),h.url('changeset_home',repo_name=c.cs_repo.repo_name,revision=cs.raw_id))}
<% a_rev, cs_rev, file_diff_data = c.changes[cs.raw_id] %> %for fid, url_fid, op, a_path, path, diff, stats in file_diff_data: