Fixes #2903 - Fix CSS imports so body and html styles are included from .scss files. Update body selector to have a font-family

This commit is contained in:
Owen Conti
2017-07-08 11:33:34 -06:00
parent 42efd8a60e
commit 48f11a172a
3 changed files with 24 additions and 22 deletions

View File

@@ -1,21 +1,3 @@
html
{
box-sizing: border-box;
}
*,
*:before,
*:after
{
box-sizing: inherit;
}
body
{
margin: 0;
background: #fafafa;
}
.wrapper .wrapper
{ {
width: 100%; width: 100%;

18
src/style/_reset.scss Normal file
View File

@@ -0,0 +1,18 @@
html
{
box-sizing: border-box;
overflow: -moz-scrollbars-vertical;
overflow-y: scroll;
}
*,
*:before,
*:after
{
box-sizing: inherit;
}
body {
background: #fafafa;
margin:0;
@include text_body()
}

View File

@@ -1,9 +1,11 @@
.swagger-ui
{
@import 'mixins'; @import 'mixins';
@import 'variables'; @import 'variables';
@import 'colors'; @import 'colors';
@import 'type'; @import 'type';
@import 'reset';
.swagger-ui
{
@import 'layout'; @import 'layout';
@import 'buttons'; @import 'buttons';
@import 'form'; @import 'form';