Files
freeCodeCamp/common/app/app.less
Stuart Taylor 24ef69cf7a feat(settings): Expand Settings page functionality (#16664)
* fix(layout): Fix Settings layout in firefox

* chore(availableForHire): Remove available for hire setting

* feat(helpers): Use helper components for Settings layout

* fix(map): Fix undefined lang requested

* feat(settings): Expand Settings page functionality

* chore(pledge): Remove pledge from Settings

* fix(about): Adjust AboutSettings layout

* fix(portfolio): Improve PortfolioSettings layout

* fix(email): Improve EmailSettings layout

* fix(settings): Align save buttons with form fields

* fix(AHP): Format AHP

* fix(DangerZone): Adjust DangerZone layout

* fix(projectSettings): Change Button Copy

* fix(CertSettings): Fix certificate claim logic

* chore(lint): Lint
2018-02-16 17:18:53 -06:00

27 lines
647 B
Plaintext

// should match ./ns.json value and filename
@ns: app;
.@{ns}-container {
// we invert the nav and content since
// the content needs to render first
// Here we invert the order in which
// they are painted using css so the
// nav is on top again
.grid(@direction: column; @wrap: nowrap);
height: 100%;
width: 100%;
}
.@{ns}-content {
// makes the inital content height 0px
// then lets it grow to fit the rest of the space
flex: 1 0 0px;
// allow content to adapt to screen size
display: flex;
}
.@{ns}-centered {
.center(@value: @container-xl, @padding: @grid-gutter-width);
margin-top: @navbar-margin-bottom;
}