Fix API descriptioin width on mobile

This commit is contained in:
Roman Hotsiy 2016-08-10 15:29:49 +03:00
parent d3d223a344
commit 9aea9bc683
No known key found for this signature in database
GPG Key ID: 5CB7B3ACABA57CB0
5 changed files with 8 additions and 3 deletions

View File

@ -8,6 +8,10 @@
width: 60%;
padding: 40px;
box-sizing: border-box;
@media (max-width: $right-panel-squash-breakpoint) {
width: 100%;
}
}
a.openapi-button {

View File

@ -142,7 +142,7 @@ responses-samples {
cursor: pointer;
}
@media (max-width: 1100px) {
@media (max-width: $right-panel-squash-breakpoint) {
.methods:before {
display: none;
}

View File

@ -6,7 +6,7 @@
background-color: white;
width: 60%;
@media (max-width: 1100px) {
@media (max-width: $right-panel-squash-breakpoint) {
width: 100%;
}
}

View File

@ -94,7 +94,7 @@ api-logo {
}
@media (max-width: 1100px) {
@media (max-width: $right-panel-squash-breakpoint) {
#api-content:before {
display: none;
}

View File

@ -57,6 +57,7 @@ $sample-panel-color: lighten($black, 80%);
$tree-lines-color: rgba($primary-color, .5);
$side-menu-mobile-breakpoint: 1000px;
$right-panel-squash-breakpoint: 1100px;
// Border Radius
// ---------------------------