-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(layout): makes sticky footer default configurable
affects: @buildit/gravity-ui-web So far the `<body>` element always has a sticky footer effect applied to it, by default. With this change, this can be disabled in custom Gravity builds by overriding a SASS variable: `$grav-config-body-sticky-footer`.
- Loading branch information
James Nash
committed
Sep 2, 2019
1 parent
8363d4d
commit f7276b3
Showing
3 changed files
with
16 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
//// | ||
/// All configuration variables that can be overridden to customise | ||
/// Gravity builds. | ||
/// | ||
/// @group config | ||
//// | ||
|
||
/// Whether or not the `<body>` element should have the | ||
/// sticky footer effect applied by default. | ||
/// | ||
/// @type boolean | ||
$grav-config-body-sticky-footer: true !default; |
1 change: 1 addition & 0 deletions
1
packages/gravity-ui-web/src/sass/00-settings/_settings.all.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters