Skip to content

Commit 42c3f1f

Browse files
authored
wrap code examples tabs in narrow browser windows (#250)
1 parent 0beb11b commit 42c3f1f

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

packages/docusaurus-theme-openapi/src/theme/ApiDemoPanel/Curl/styles.module.css

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,8 @@
1010
border-radius: var(--openapi-card-border-radius)
1111
var(--openapi-card-border-radius) 2px 2px;
1212
display: flex;
13-
justify-content: flex-end;
13+
justify-content: center;
14+
flex-wrap: wrap;
1415
}
1516

1617
.buttonGroup button {
@@ -59,7 +60,6 @@
5960
/* border-radius: 0.25rem; */
6061

6162
display: block;
62-
width: 100%;
6363

6464
/* margin: 2px; */
6565
margin: var(--margin);

0 commit comments

Comments
 (0)