denis-sokolov/portent

View on GitHub
src/css/portent/_internal/misc.less

Summary

Maintainability
Test Coverage
/**
 * Fix the jumping scrollbar
 * Better than a usual overflow-y: scroll
 * http://aykevl.nl/2014/09/fix-jumping-scrollbar
 */
@media screen and (min-width: 960px) {
    html {
        margin-left: calc(100vw - 100%);
        margin-right: 0;
    }
}

// Default tab-size is 8, which is ridiculous
body {
    tab-size: 4;
}