Merge pull request #956 from sharelatex/jel-margins

Margins on content pages
This commit is contained in:
Jessica Lawshe 2018-09-24 14:23:10 -05:00 committed by GitHub
commit 16d1c13566
3 changed files with 7 additions and 3 deletions

View file

@ -45,8 +45,8 @@
All content from CMS is in .row-spaced.
Margin below is to fix extra whitespace for first rows
*/
.container > .row:nth-child(2) {
//- first child is page header, don't correct margin
.container > .row:nth-child(2), .content-container > .row:first-child {
//- .container first child is page header, don't correct margin
margin-top: 0;
}
.tab-pane {

View file

@ -90,6 +90,10 @@
}
// End Actions
.nav-tabs {
margin-bottom: @margin-md;
}
/*
Begin Print
*/

View file

@ -2,7 +2,7 @@
// Overrides for nav.less
.nav-tabs {
border: 0!important;
margin-bottom: @margin-md;
margin-bottom: 0;
margin-top: -@line-height-computed; //- adjusted for portal-name
padding: @padding-lg 0 @padding-md;
text-align: center;