Skip to content

Commit

Permalink
Merge pull request #47 from alexnoox/bugfixes
Browse files Browse the repository at this point in the history
Fix the dock center positioning
  • Loading branch information
alexnoox authored Aug 23, 2016
2 parents 36c8835 + 041f13f commit db361f3
Show file tree
Hide file tree
Showing 3 changed files with 13 additions and 7 deletions.
3 changes: 3 additions & 0 deletions src/app/index.config.coffee
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,9 @@ angular.module 'mnoEnterpriseAngular'
options =
dataNotFoundConfig:
linkUrl: '#/marketplace'
dhbErrorsConfig:
firstTimeCreated:
note: ''

ImpacThemingProvider.configure(options)

Expand Down
4 changes: 2 additions & 2 deletions src/app/views/layout.html
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@
</div>

<div id="dashboard">
<dashboard-company-selectbox></dashboard-company-selectbox>
<dashboard-menu></dashboard-menu>
<div class="container">
<dashboard-menu></dashboard-menu>
<dashboard-company-selectbox></dashboard-company-selectbox>
<div ui-view></div>
</div>
</div>
13 changes: 8 additions & 5 deletions src/app/views/layout.less
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,14 @@
#dashboard {
margin-left: @menu-left-width;

.container {
position: relative;
}

@media (max-width: @screen-xs-max) {
padding-top: 40px;
}

/* Fix the container width if the screen is sm+ */
@media screen and (min-width: @screen-sm-min) {
.container {
Expand All @@ -45,9 +53,4 @@
width: @container-lg - @menu-left-width;
}
}

@media (max-width: @screen-xs-max) {
padding-top: 40px;
margin-left: 0;
}
}

0 comments on commit db361f3

Please sign in to comment.