Skip to content

Commit

Permalink
Merge pull request #107 from open-sausages/pulls/4.0/99-model-admin-t…
Browse files Browse the repository at this point in the history
…ab-drop

Drop main modalAdmin tabs for smaller screens
  • Loading branch information
kinglozzer authored Jun 27, 2017
2 parents e5fa805 + 8d4135a commit b3e6616
Show file tree
Hide file tree
Showing 2 changed files with 20 additions and 1 deletion.
2 changes: 1 addition & 1 deletion client/dist/styles/bundle.css

Large diffs are not rendered by default.

19 changes: 19 additions & 0 deletions client/src/styles/legacy/_style.scss
Original file line number Diff line number Diff line change
Expand Up @@ -147,6 +147,25 @@ body.cms {
}
}

.cms-content-header {

@include media-breakpoint-down(sm) {
.cms-content-header-nav {
display: block;
}

// CMS admin
.cms-content-header-nav .breadcrumbs-wrapper,
.cms-content-header-nav .cms-content-header-tabs,
// Model admin
.breadcrumbs-wrapper,
.cms-content-header-tabs,
.cms-content-header-info {
float: none;
}
}
}

.cms-edit-form.CMSMain {
padding: 0;
}
Expand Down

0 comments on commit b3e6616

Please sign in to comment.