Skip to content

Commit

Permalink
Fix: Change to read mode
Browse files Browse the repository at this point in the history
Signed-off-by: George J Padayatti <[email protected]>
  • Loading branch information
georgepadayatti committed Sep 25, 2023
1 parent 4b8d3e8 commit c87aa29
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions openapi/v2023.8.1/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@
applyStyleToApiInfo(); // Try applying the style immediately in case the element is already there
}
} else {
rapiDocElement.setAttribute("render-style", "focused"); // for sizes greater than a tablet
rapiDocElement.setAttribute("render-style", "read"); // for sizes greater than a tablet
}
});
</script>
</head>
<body>
<rapi-doc
render-style="focused"
render-style="read"
spec-url="./bundled.yaml"
theme="light"
show-header="false"
Expand Down
4 changes: 2 additions & 2 deletions openapi/v2023.8.2/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -56,14 +56,14 @@
applyStyleToApiInfo(); // Try applying the style immediately in case the element is already there
}
} else {
rapiDocElement.setAttribute("render-style", "focused"); // for sizes greater than a tablet
rapiDocElement.setAttribute("render-style", "read"); // for sizes greater than a tablet
}
});
</script>
</head>
<body>
<rapi-doc
render-style="focused"
render-style="read"
spec-url="./bundled.yaml"
theme="light"
show-header="false"
Expand Down

0 comments on commit c87aa29

Please sign in to comment.