Skip to content

Commit

Permalink
Merge pull request #6207 from panda01/fix/header-details
Browse files Browse the repository at this point in the history
Searchbar height
  • Loading branch information
simianhacker committed Feb 11, 2016
2 parents 4f3b315 + 5259b63 commit eb4a3cf
Show file tree
Hide file tree
Showing 6 changed files with 8 additions and 12 deletions.
3 changes: 0 additions & 3 deletions src/plugins/kibana/public/dashboard/styles/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,6 @@
navbar[name="dashboard-options"] {
padding-bottom: 0;
}
navbar[name="dashboard-search"] {
padding-bottom: 10px;
}
}

dashboard-grid {
Expand Down
3 changes: 0 additions & 3 deletions src/plugins/kibana/public/discover/styles/main.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,9 +5,6 @@
navbar[name="discover-options"] {
padding-bottom: 0;
}
navbar[name="discover-search"] {
padding-bottom: 10px;
}
}

.discover {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -69,9 +69,6 @@
padding-bottom: 0;
}

navbar[name="visualize-search"] {
padding-bottom: 10px;
}

&-actions {
margin-left: auto;
Expand Down
2 changes: 1 addition & 1 deletion src/ui/public/styles/control_group.less
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,7 @@
}

button {
padding: @padding-base-vertical @padding-base-horizontal;
padding: 4px 10px;
font-size: @font-size-base;
color: @control-group-link-color;
background-color: @control-group-bg;
Expand Down
7 changes: 6 additions & 1 deletion src/ui/public/styles/navbar.less
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ navbar {
max-height: @navbar-collapse-max-height;
margin-bottom: @navbar-margin-bottom;
// top and bottom padding are normally calcuated and stored in @navbar-padding-vertical, but flexbox
padding: @padding-base-vertical @navbar-padding-horizontal;
padding: 0 @navbar-padding-horizontal 6px @navbar-padding-horizontal;
color: @navbar-default-color;
background-color: @navbar-default-bg;
border: none;
Expand All @@ -20,6 +20,11 @@ navbar {
padding-right: @navbar-padding-horizontal;
}

.navbar-text {
margin-top: 6px;
margin-bottom: 6px;
}

// the "brand" that is displayed, usually on the left of the navbar
> .name {
align-self: center;
Expand Down
2 changes: 1 addition & 1 deletion src/ui/public/styles/variables/bootstrap-mods.less
Original file line number Diff line number Diff line change
Expand Up @@ -332,7 +332,7 @@
@navbar-height: 45px;
@navbar-margin-bottom: 0px;
@navbar-border-radius: @border-radius-base;
@navbar-padding-horizontal: floor((@grid-gutter-width / 2));
@navbar-padding-horizontal: 10px;
@navbar-padding-vertical: ((@navbar-height - @line-height-computed) / 2);
@navbar-collapse-max-height: 340px;

Expand Down

0 comments on commit eb4a3cf

Please sign in to comment.