File tree 2 files changed +10
-1
lines changed
packages/gitbook/src/components/DocumentView/OpenAPI
2 files changed +10
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' gitbook ' : patch
3
+ ---
4
+
5
+ Fix openapi-select hover in responses
Original file line number Diff line number Diff line change @@ -687,6 +687,10 @@ body:has(.openapi-select-popover) {
687
687
@apply bg-tint-subtle;
688
688
}
689
689
690
+ .openapi-disclosure-group : has (.openapi-disclosure-group-trigger : hover ): has (.openapi-select : hover ) {
691
+ @apply !bg- transparent;
692
+ }
693
+
690
694
.openapi-disclosure-group-trigger {
691
695
@apply flex w-full items-baseline gap-3 transition-all relative flex-1 p-3 -outline-offset-1;
692
696
}
@@ -719,7 +723,7 @@ body:has(.openapi-select-popover) {
719
723
@apply rotate-90;
720
724
}
721
725
722
- .openapi-disclosure-group-mediatype {
726
+ .openapi-disclosure-group-mediatype : not ( : has (. openapi-select )) {
723
727
@apply text-[0.625rem ] font-mono shrink-0 grow-0 text-tint-subtle contrast-more:text-tint;
724
728
}
725
729
You can’t perform that action at this time.
0 commit comments