# HG changeset patch # User domruf # Date 2017-05-18 18:52:49 # Node ID 6f38405ed2f231c0486a2add285fcb8e949c1010 # Parent d5ec8035ff6eab1b5e43b5dc1a82c4bbb2fc6a6a templates: use span for inline elements Instead of using div and making it an inline elment with css use span which already is a inline element. 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 @@ -3183,11 +3183,6 @@ input.perm_filter { font-size: 16px; } -.compare-revision-selector > div { - display: inline-block; - margin-right: 8px; -} - table.code-difftable { border-collapse: collapse; border-radius: 0px !important; diff --git a/kallithea/templates/compare/compare_diff.html b/kallithea/templates/compare/compare_diff.html --- a/kallithea/templates/compare/compare_diff.html +++ b/kallithea/templates/compare/compare_diff.html @@ -28,18 +28,18 @@
## divs are "inline-block" and cannot have whitespace between them. -
+ ${h.hidden('compare_org')} -
+ -
+ ${h.hidden('compare_other')} -
+ %if not c.compare_home: ${_('Swap')} %endif
${_('Compare Revisions')}
-
+