fix(styles): stop wrapper from overflowing on smaller devices (#4121)

When using `swagger-ui` for consumption by JavaScript web projects
that include module bundlers, instead of `swagger-ui-dist`
there is no `box-sizing: border-box` on `.wrapper`
and it's width overflows because of additional `padding: 0 20px`
This commit is contained in:
Andrew Luca
2018-01-19 21:54:01 +02:00
committed by kyle
parent f29202fed8
commit e531c40356
2 changed files with 2 additions and 1 deletions

View File

@@ -4,6 +4,7 @@
max-width: 1460px;
margin: 0 auto;
padding: 0 20px;
box-sizing: border-box;
}
.opblock-tag-section

View File

@@ -171,4 +171,4 @@ $browser-context: 16;
animation: shake .4s 1;
border-color: $_color-delete;
background: lighten($_color-delete, 35%);
}
}