Skip to content

Commit

Permalink
Fix contextual bar size
Browse files Browse the repository at this point in the history
Adjust the breadcrumb line-height setting to fix the contextual bar size
which is otherwise different due to non-matching selectors.

Closes mesosphere/marathon#3134
  • Loading branch information
Orlando Hohmeier committed Feb 15, 2016
1 parent 824c7b0 commit d7acb05
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 5 deletions.
2 changes: 1 addition & 1 deletion src/css/components/breadcrumb.less
Expand Up @@ -8,12 +8,12 @@
display: flex;
flex: 1;
font-size: @base-font-size;
line-height: @base-spacing-unit*2;
list-style: none;
margin: 0;
padding: @base-spacing-unit*2;

li {
line-height: @base-spacing-unit*2;
display: flex;

+ li::before {
Expand Down
5 changes: 1 addition & 4 deletions src/css/components/pane.less
Expand Up @@ -41,10 +41,7 @@
padding: 0;
align-items: center;
overflow-x: hidden;

li {
line-height: @font-size-h2+@base-spacing-unit;
}
line-height: @font-size-h2+@base-spacing-unit;

.clear {
margin-left: @horizontal-spacing-unit;
Expand Down

0 comments on commit d7acb05

Please sign in to comment.