|
379 | 379 | } |
380 | 380 |
|
381 | 381 | .openapi-response-tab-content { |
382 | | - @apply flex items-baseline truncate grow shrink max-w-max basis-[60%] mr-auto; |
| 382 | + @apply flex items-baseline truncate grow shrink max-w-max basis-full mr-auto; |
383 | 383 | @apply text-left text-pretty relative leading-tight text-tint select-text; |
384 | 384 | } |
385 | 385 |
|
386 | 386 | .openapi-response-description.openapi-markdown { |
387 | | - @apply text-left truncate prose-sm text-sm leading-tight text-tint select-text prose-strong:font-semibold prose-strong:text-inherit; |
| 387 | + @apply text-left prose-sm text-sm leading-tight text-tint select-text prose-strong:font-semibold prose-strong:text-inherit; |
388 | 388 | } |
389 | 389 |
|
390 | | -.openapi-disclosure-group-trigger[aria-expanded="true"] .openapi-response-tab-content { |
391 | | - @apply basis-full; |
392 | | -} |
393 | | - |
394 | | -.openapi-disclosure-group-trigger[aria-expanded="true"] |
| 390 | +.openapi-disclosure-group-trigger[aria-expanded="false"] { |
395 | 391 | .openapi-response-description.openapi-markdown { |
396 | | - @apply whitespace-normal; |
| 392 | + @apply truncate; |
| 393 | + @apply [&>*:not(:first-child)]:hidden *:truncate *:!p-0 *:!m-0; |
| 394 | + } |
| 395 | + |
| 396 | + .openapi-response-tab-content { |
| 397 | + @apply basis-[60%] |
| 398 | + } |
397 | 399 | } |
398 | 400 |
|
399 | 401 | .openapi-response-body { |
|
551 | 553 | @apply text-[0.813rem] truncate text-tint font-normal; |
552 | 554 | } |
553 | 555 |
|
| 556 | +.openapi-response-examples-statuscode-label { |
| 557 | + @apply truncate; |
| 558 | +} |
| 559 | + |
554 | 560 | .openapi-response-examples-panel, |
555 | 561 | .openapi-codesample-panel { |
556 | 562 | @apply flex-1 text-sm relative focus-visible:outline-none; |
@@ -583,10 +589,6 @@ body:has(.openapi-select-popover) { |
583 | 589 | @apply shrink truncate flex items-center; |
584 | 590 | } |
585 | 591 |
|
586 | | -.openapi-select > button > span.react-aria-SelectValue span:not(.openapi-statuscode) { |
587 | | - @apply truncate; |
588 | | -} |
589 | | - |
590 | 592 | .openapi-select > button .openapi-markdown { |
591 | 593 | @apply *:leading-none; |
592 | 594 | } |
@@ -615,7 +617,7 @@ body:has(.openapi-select-popover) { |
615 | 617 |
|
616 | 618 | .openapi-select button .openapi-markdown, |
617 | 619 | .openapi-select-item .openapi-markdown { |
618 | | - @apply text-[0.813rem] *:truncate; |
| 620 | + @apply text-[0.813rem] *:truncate *:!p-0 *:!m-0 [&>*:not(:first-child)]:hidden; |
619 | 621 | } |
620 | 622 |
|
621 | 623 | .openapi-select-item-selected, |
|
0 commit comments