|
338 | 338 | } |
339 | 339 |
|
340 | 340 | .openapi-response-description.openapi-markdown { |
341 | | - @apply prose-sm text-[0.813rem] h-auto relative leading-[1.125rem] text-tint !font-normal truncate select-text prose-strong:font-semibold prose-strong:text-inherit; |
| 341 | + @apply text-left prose-sm text-[0.813rem] h-auto relative leading-[1.125rem] text-tint !font-normal truncate select-text prose-strong:font-semibold prose-strong:text-inherit; |
342 | 342 | } |
343 | 343 |
|
344 | 344 | .openapi-response-description.openapi-markdown::-webkit-scrollbar { |
|
525 | 525 | } |
526 | 526 |
|
527 | 527 | .openapi-disclosure-group-header { |
528 | | - @apply flex flex-row items-center justify-between gap-3; |
| 528 | + @apply flex flex-row items-baseline justify-between gap-3 relative; |
529 | 529 | } |
530 | 530 |
|
531 | 531 | .openapi-disclosure-group-trigger { |
532 | | - @apply flex items-center relative flex-1 gap-2.5 py-2 truncate -outline-offset-1; |
| 532 | + @apply flex items-baseline relative flex-1 gap-2.5 py-2 truncate -outline-offset-1; |
533 | 533 | } |
534 | 534 |
|
535 | 535 | .openapi-disclosure-group-trigger:disabled { |
|
545 | 545 | @apply invisible; |
546 | 546 | } |
547 | 547 |
|
| 548 | +.openapi-disclosure-group-trigger[aria-expanded='true'] .openapi-response-description { |
| 549 | + @apply whitespace-normal; |
| 550 | +} |
| 551 | + |
548 | 552 | .openapi-disclosure-group-icon > svg { |
549 | 553 | @apply size-3 text-tint-subtle transition-all duration-300; |
550 | 554 | } |
|
561 | 565 | @apply rotate-90; |
562 | 566 | } |
563 | 567 |
|
564 | | -.openapi-disclosure-group:hover .openapi-disclosure-group-mediatype, |
565 | | -.openapi-disclosure-group[aria-expanded='true'] .openapi-disclosure-group-mediatype { |
| 568 | +.openapi-disclosure-group:hover .openapi-disclosure-group-mediatype { |
566 | 569 | @apply opacity-11 flex; |
567 | 570 | } |
568 | 571 |
|
569 | 572 | .openapi-disclosure-group-mediatype { |
570 | | - @apply opacity-0 hidden transition-all duration-200 shrink-0; |
| 573 | + @apply opacity-0 hidden text-xs transition-all duration-200 shrink-0 absolute right-0 top-2.5; |
571 | 574 | } |
572 | 575 |
|
573 | 576 | .openapi-disclosure-group-mediatype > span { |
574 | | - @apply text-xs text-tint-subtle; |
| 577 | + @apply px-1 bg-tint-6 text-tint-12 rounded-full; |
575 | 578 | } |
576 | 579 |
|
577 | 580 | /* Disclosure */ |
|
0 commit comments