@@ 5,11 5,11 @@
{% endblock %}
{% block content %}
<div class="header-extension">
- <div class="container">
- <span style="padding-left: 1rem">
+ <div class="container tree-header">
+ <div class="breadcrumb">
{{ utils.breadcrumb(ref, repo, path, entry, view, path_join, stat, pygit2, humanize) }}
- </span>
- <div class="pull-right">
+ </div>
+ <div class="commit-info">
<a
href="{{url_for("repo.commit",
owner=repo.owner.canonical_name,
@@ 28,7 28,6 @@
{{ commit_time(commit) | date }}
</span>
</div>
- <div class="clearfix"></div>
</div>
</div>
<div class="container">
@@ 336,6 336,23 @@ img {
}
}
+.tree-header {
+ display: flex;
+
+ .breadcrumb {
+ white-space: nowrap;
+ flex-grow: 1;
+ }
+
+ .commit-info {
+ margin-left: 1rem;
+ white-space: nowrap;
+ text-overflow: ellipsis;
+ overflow: hidden;
+ min-width: 0;
+ }
+}
+
dl {
dd {
text-overflow: ellipsis;