mirror of
https://github.com/Redocly/redoc.git
synced 2025-05-29 18:23:04 +03:00
add html5 doctype and fix strictmode issues
This commit is contained in:
parent
50ea735e7b
commit
3058b3b902
|
@ -1,4 +1,4 @@
|
||||||
<!-- index.html -->
|
<!DOCTYPE html>
|
||||||
<html>
|
<html>
|
||||||
<head>
|
<head>
|
||||||
<title>ReDoc</title>
|
<title>ReDoc</title>
|
||||||
|
|
|
@ -46,7 +46,7 @@ export default class StickySidebar {
|
||||||
|
|
||||||
stick() {
|
stick() {
|
||||||
this.adapter.setStyle(this.element, 'position', 'fixed');
|
this.adapter.setStyle(this.element, 'position', 'fixed');
|
||||||
this.adapter.setStyle(this.element, 'top', this.scrollYOffset());
|
this.adapter.setStyle(this.element, 'top', this.scrollYOffset() + 'px');
|
||||||
}
|
}
|
||||||
|
|
||||||
unstick() {
|
unstick() {
|
||||||
|
|
|
@ -38,10 +38,6 @@ $sub-schema-offset: ($bullet-size/2) + $bullet-margin;
|
||||||
border-left: $line-border;
|
border-left: $line-border;
|
||||||
white-space: nowrap;
|
white-space: nowrap;
|
||||||
position: relative;
|
position: relative;
|
||||||
|
|
||||||
> span {
|
|
||||||
vertical-align: middle;
|
|
||||||
}
|
|
||||||
}
|
}
|
||||||
|
|
||||||
.param-info {
|
.param-info {
|
||||||
|
|
Loading…
Reference in New Issue
Block a user