mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +03:00
Fix API descriptioin width on mobile
This commit is contained in:
parent
d3d223a344
commit
9aea9bc683
|
@ -8,6 +8,10 @@
|
|||
width: 60%;
|
||||
padding: 40px;
|
||||
box-sizing: border-box;
|
||||
|
||||
@media (max-width: $right-panel-squash-breakpoint) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
||||
a.openapi-button {
|
||||
|
|
|
@ -142,7 +142,7 @@ responses-samples {
|
|||
cursor: pointer;
|
||||
}
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
@media (max-width: $right-panel-squash-breakpoint) {
|
||||
.methods:before {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
background-color: white;
|
||||
width: 60%;
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
@media (max-width: $right-panel-squash-breakpoint) {
|
||||
width: 100%;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -94,7 +94,7 @@ api-logo {
|
|||
}
|
||||
|
||||
|
||||
@media (max-width: 1100px) {
|
||||
@media (max-width: $right-panel-squash-breakpoint) {
|
||||
#api-content:before {
|
||||
display: none;
|
||||
}
|
||||
|
|
|
@ -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
|
||||
// ---------------------------
|
||||
|
|
Loading…
Reference in New Issue
Block a user