Changeset - 6f38405ed2f2
[Not reviewed]
default
0 2 0
domruf - 8 years ago 2017-05-18 20:52:49
dominikruf@gmail.com
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.
2 files changed with 5 insertions and 10 deletions:
0 comments (0 inline, 0 general)
kallithea/public/css/style.css
Show inline comments
 
@@ -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;
kallithea/templates/compare/compare_diff.html
Show inline comments
 
@@ -28,18 +28,18 @@ ${self.repo_context_bar('changelog')}
 
        <div id="body" class="panel-heading">
 
            <div class="compare-revision-selector">
 
                ## divs are "inline-block" and cannot have whitespace between them.
 
                <div>
 
                <span>
 
                    ${h.hidden('compare_org')}
 
                </div><div>
 
                </span><span>
 
                    <i class="icon-right"></i>
 
                </div><div>
 
                </span><span>
 
                    ${h.hidden('compare_other')}
 
                </div><div>
 
                </span><span>
 
                    %if not c.compare_home:
 
                        <a class="btn btn-default btn-sm" href="${c.swap_url}"><i class="icon-arrows-cw"></i> ${_('Swap')}</a>
 
                    %endif
 
                    <div id="compare_revs" class="btn btn-default btn-sm"><i class="icon-git-compare"></i> ${_('Compare Revisions')}</div>
 
                </div>
 
                </span>
 
            </div>
 
        </div>
 

	
0 comments (0 inline, 0 general)