add html5 doctype and fix strictmode issues

This commit is contained in:
Roman Hotsiy 2016-01-12 01:26:47 +02:00
parent 50ea735e7b
commit 3058b3b902
3 changed files with 2 additions and 6 deletions

View File

@ -1,4 +1,4 @@
<!-- index.html -->
<!DOCTYPE html>
<html>
<head>
<title>ReDoc</title>

View File

@ -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() {

View File

@ -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 {