Skip to content

Commit 4ae2a3c

Browse files
committed
Merge pull request #732 from dart-lang/sl-name-above-right-nav
sl-name-above-right-nav
2 parents 74a51f8 + 0847033 commit 4ae2a3c

File tree

5 files changed

+11
-0
lines changed

5 files changed

+11
-0
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,6 @@
1+
## Unreleased
2+
* Print the name of the thing above the right nav list
3+
14
## 0.3.0
25
* new: left nav now animates in on mobile
36
* new: white list certain libraries from the command line

lib/resources/styles.css

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -575,6 +575,10 @@ button {
575575
}
576576
}
577577

578+
.sidebar-offcanvas-right h5 {
579+
color: #727272;
580+
}
581+
578582
/* the right nav disappears out of view */
579583
/* THIS IS TOTALLY BROKEN... WILL REDO RIGHT-NAV */
580584
@media screen and (max-width: 992px) {

lib/templates/class.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,6 +159,7 @@ <h2>Methods</h2>
159159
</div> <!-- /.main-content -->
160160

161161
<div class="col-xs-6 col-sm-6 col-md-3 sidebar-offcanvas-right">
162+
<h5>{{self.name}}</h5>
162163
{{>sidebar_for_class}}
163164
</div><!--/.sidebar-offcanvas-->
164165

lib/templates/index.html

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,8 @@ <h2>Libraries</h2>
2525

2626
<div class="col-xs-6 col-sm-6 col-md-3 sidebar-offcanvas-right">
2727

28+
<h5>{{self.name}}</h5>
29+
2830
<ol class="sidebar">
2931
<li class="section-title"><a href="{{package.href}}#libraries">Libraries</a></li>
3032
{{#package.libraries}}

lib/templates/library.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -117,6 +117,7 @@ <h2>Exceptions / Errors</h2>
117117
</div> <!-- /.main-content -->
118118

119119
<div class="col-xs-6 col-sm-6 col-md-3 sidebar-offcanvas-right">
120+
<h5>{{self.name}}</h5>
120121
{{>sidebar_for_library}}
121122
</div><!--/sidebar-offcanvas-right-->
122123

0 commit comments

Comments
 (0)