mirror of
https://github.com/Redocly/redoc.git
synced 2024-11-22 16:46:34 +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>
|
||||
<head>
|
||||
<title>ReDoc</title>
|
||||
|
|
|
@ -46,7 +46,7 @@ export default class StickySidebar {
|
|||
|
||||
stick() {
|
||||
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() {
|
||||
|
|
|
@ -38,10 +38,6 @@ $sub-schema-offset: ($bullet-size/2) + $bullet-margin;
|
|||
border-left: $line-border;
|
||||
white-space: nowrap;
|
||||
position: relative;
|
||||
|
||||
> span {
|
||||
vertical-align: middle;
|
||||
}
|
||||
}
|
||||
|
||||
.param-info {
|
||||
|
|
Loading…
Reference in New Issue
Block a user