mirror of
https://github.com/Redocly/redoc.git
synced 2025-06-06 14:03:13 +03:00
Fix API descriptioin width on mobile
This commit is contained in:
parent
d3d223a344
commit
9aea9bc683
|
@ -8,6 +8,10 @@
|
||||||
width: 60%;
|
width: 60%;
|
||||||
padding: 40px;
|
padding: 40px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
|
|
||||||
|
@media (max-width: $right-panel-squash-breakpoint) {
|
||||||
|
width: 100%;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
a.openapi-button {
|
a.openapi-button {
|
||||||
|
|
|
@ -142,7 +142,7 @@ responses-samples {
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
}
|
}
|
||||||
|
|
||||||
@media (max-width: 1100px) {
|
@media (max-width: $right-panel-squash-breakpoint) {
|
||||||
.methods:before {
|
.methods:before {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
background-color: white;
|
background-color: white;
|
||||||
width: 60%;
|
width: 60%;
|
||||||
|
|
||||||
@media (max-width: 1100px) {
|
@media (max-width: $right-panel-squash-breakpoint) {
|
||||||
width: 100%;
|
width: 100%;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -94,7 +94,7 @@ api-logo {
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
@media (max-width: 1100px) {
|
@media (max-width: $right-panel-squash-breakpoint) {
|
||||||
#api-content:before {
|
#api-content:before {
|
||||||
display: none;
|
display: none;
|
||||||
}
|
}
|
||||||
|
|
|
@ -57,6 +57,7 @@ $sample-panel-color: lighten($black, 80%);
|
||||||
$tree-lines-color: rgba($primary-color, .5);
|
$tree-lines-color: rgba($primary-color, .5);
|
||||||
|
|
||||||
$side-menu-mobile-breakpoint: 1000px;
|
$side-menu-mobile-breakpoint: 1000px;
|
||||||
|
$right-panel-squash-breakpoint: 1100px;
|
||||||
|
|
||||||
// Border Radius
|
// Border Radius
|
||||||
// ---------------------------
|
// ---------------------------
|
||||||
|
|
Loading…
Reference in New Issue
Block a user