Permalink
Browse files

Make sure each dependency link has a width and isn't cut off unreason…

…ably early

Previously these were displayed inline (due to 851a6fc), and inline
elements don't have a width.  Set zero padding and margin and take up
the whole width of the container instead.
  • Loading branch information...
1 parent 9905e29 commit c982102955c8bc246e137d7d911a86dce5bd8071 @tsibley tsibley committed Feb 2, 2014
Showing with 8 additions and 1 deletion.
  1. +1 −1 root/inc/dependencies.html
  2. +7 −0 root/static/less/style.less
@@ -1,4 +1,4 @@
-<ul class="nav nav-list box-right hidden-phone">
+<ul class="nav nav-list box-right hidden-phone dependencies">
<li class="nav-header">Dependencies</li>
<%-
deps = [];
@@ -117,6 +117,13 @@
text-decoration: underline;
}
+.dependencies.nav-list.nav > li > a {
+ display: block;
+ padding: 0;
+ margin: 0;
+ width: 100%;
+}
+
.dropdown-menu {
overflow-y: auto;
overflow-x: hidden;

0 comments on commit c982102

Please sign in to comment.