Skip to content

Commit 9e4b1b9

Browse files
committed
Redocly: Fix width issues
1 parent 17d1dd9 commit 9e4b1b9

File tree

5 files changed

+10917
-15
lines changed

5 files changed

+10917
-15
lines changed

assets/css/v2/style.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -916,8 +916,8 @@ nav {
916916

917917
/* Allow redocly to fill the entire container */
918918
&.content__redocly {
919-
justify-self: unset;
920-
max-width: 100%;
919+
min-width: 100%;
920+
margin: 0;
921921

922922
#api-component {
923923
z-index: 0;
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
---
2+
description: Live example of Redocly usage
3+
title: Live example
4+
weight: 200
5+
type: redoc
6+
tags:
7+
- api
8+
doctypes:
9+
- reference
10+
---
11+
{{< openapi spec="./api/one.json" >}}

0 commit comments

Comments
 (0)