mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-24 09:33:44 +03:00
Merge branch 'master' into releases
This commit is contained in:
commit
9fec6251b0
|
@ -31,6 +31,7 @@
|
|||
.redoc-wrap {
|
||||
z-index: 0;
|
||||
position: relative;
|
||||
overflow: hidden;
|
||||
font-family: $base-font, $base-font-family;
|
||||
font-size: $em-size;
|
||||
line-height: $base-line-height;
|
||||
|
|
|
@ -200,6 +200,9 @@ export class MenuService {
|
|||
|
||||
setActiveByHash(hash) {
|
||||
if (!hash) {
|
||||
if (this.categories[0].headless) {
|
||||
this.activate(0, 0);
|
||||
}
|
||||
return;
|
||||
}
|
||||
let catIdx, methodIdx;
|
||||
|
|
|
@ -28,6 +28,7 @@ export interface MenuCategory {
|
|||
empty?: string;
|
||||
virtual?: boolean;
|
||||
ready: boolean;
|
||||
headless: boolean;
|
||||
}
|
||||
|
||||
// global var for this module
|
||||
|
|
Loading…
Reference in New Issue
Block a user