Skip to content
This repository has been archived by the owner on Dec 13, 2020. It is now read-only.

Commit

Permalink
#643 Reduced width of home menu
Browse files Browse the repository at this point in the history
  • Loading branch information
damianprzygodzki committed Apr 18, 2017
1 parent f9a2867 commit 5509303
Show file tree
Hide file tree
Showing 3 changed files with 12 additions and 8 deletions.
5 changes: 3 additions & 2 deletions src/assets/css/header.css
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@

.subheader-container {
display: none;
width: 100%;
width: 50%;
position: fixed;
z-index: 201;
margin-top:-1px;
Expand All @@ -176,7 +176,7 @@
}

.subheader-column {
width: 25%;
width: 50%;
border-right: 1px solid #e1e7ec;

overflow: hidden;
Expand All @@ -188,6 +188,7 @@
@media (max-width: $breakpoint) {
.subheader-container {
top: 55px;
width: 100%;
z-index: 201;
max-height: calc(100vh - 55px);
overflow: scroll;
Expand Down
5 changes: 5 additions & 0 deletions src/assets/css/styles.css
Original file line number Diff line number Diff line change
Expand Up @@ -51,6 +51,11 @@ body {
height: 100%;
}

.container-fluid-subheader {
padding-right: 0;
}


@media (max-width: 768px) {
.container-fluid {
padding-left: .5rem;
Expand Down
10 changes: 4 additions & 6 deletions src/components/header/SubHeader.js
Original file line number Diff line number Diff line change
Expand Up @@ -225,12 +225,10 @@ class Subheader extends Component {
onKeyDown={this.handleKeyDown}
ref={(c)=> this.subHeader = c}
>
<div className="container-fluid">
<div className="row">
<div className="subheader-row">
{this.renderNavColumn()}
{this.renderActionsColumn()}
</div>
<div className="container-fluid-subheader container-fluid">
<div className="subheader-row">
{this.renderNavColumn()}
{this.renderActionsColumn()}
</div>
</div>
</div>
Expand Down

0 comments on commit 5509303

Please sign in to comment.