Skip to content
This repository has been archived by the owner on Nov 28, 2022. It is now read-only.

Commit

Permalink
Style: fix padding and color on the demo reference page (#1057)
Browse files Browse the repository at this point in the history
* style: remove large space at the top of the reference page

* style: fix sidebar color for reference page
  • Loading branch information
thenaomiday authored Nov 20, 2020
1 parent 2b60206 commit dae05f4
Showing 1 changed file with 7 additions and 6 deletions.
13 changes: 7 additions & 6 deletions example/reference/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -176,6 +176,10 @@
#loading-screen.is-loaded {
display: none;
}

.hub-container {
display: flex;
}
</style>
</head>

Expand Down Expand Up @@ -230,20 +234,17 @@ <h1 id="header-logo">Swagger Preview</h1>
position: initial;
padding-bottom: 0px;
}
#hub-sidebar-content a.text-overflow {
background: #fff!important;
}
section#hub-content {
border-left: 1px solid #ddd;
margin-left: 246px;
padding-left: 0px;
width: unset;
}
section#hub-content.with-errors {
border-left: none;
}
@media (max-width: 768px) {
section#hub-content {
margin-left: 0 !important;
}
}
</style>
<div id="hub-sidebar-parent" class="hub-sidebar-sticky">
<nav id="hub-sidebar">
Expand Down

0 comments on commit dae05f4

Please sign in to comment.