File tree Expand file tree Collapse file tree 3 files changed +10
-5
lines changed
packages/gitbook/src/components Expand file tree Collapse file tree 3 files changed +10
-5
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' gitbook ' : patch
3+ ---
4+
5+ Fix OpenAPI layout issues
Original file line number Diff line number Diff line change 145145}
146146
147147.openapi-column-preview-body {
148- @apply flex flex-col gap-4 sticky top-4 site-header:top-20 site-header- sections:top-32 page-api-block :xl:max-2xl:top-32 print-mode:static;
148+ @apply flex flex-col gap-4 sticky top-4 site-header:top-20 site-header:xl:max-2xl:top-32 site-header- sections:top-32 site-header-sections :xl:max-2xl:top-44 print-mode:static;
149149}
150150
151151.openapi-column-preview pre {
@@ -770,18 +770,18 @@ body:has(.openapi-select-popover) {
770770}
771771
772772.openapi-disclosure : has (> .openapi-disclosure-trigger : hover ) {
773- @apply bg-tint-subtle;
773+ @apply bg-tint-subtle overflow-hidden ;
774774}
775775
776776.openapi-disclosure : has (> .openapi-disclosure-trigger : hover ),
777777.openapi-disclosure [data-expanded = "true" ] {
778778 @apply ring-1 shadow-sm;
779779}
780780
781- .openapi-disclosure [data-expanded = "true" ]: not (: first-child ) {
781+ .openapi-disclosure [data-expanded = "true" ]: not (. openapi-schemas-disclosure ) : not ( : first-child ) {
782782 @apply mt-2;
783783}
784- .openapi-disclosure [data-expanded = "true" ]: not (: last-child ) {
784+ .openapi-disclosure [data-expanded = "true" ]: not (. openapi-schemas-disclosure ) : not ( : last-child ) {
785785 @apply mb-2;
786786}
787787
Original file line number Diff line number Diff line change @@ -87,7 +87,7 @@ export function PageAside(props: {
8787 'page-api-block:xl:max-2xl:dark:hover:shadow-tint-1/1' ,
8888 'page-api-block:xl:max-2xl:rounded-md' ,
8989 'page-api-block:xl:max-2xl:h-auto' ,
90- 'page-api-block:xl:max-2xl:my-8 ' ,
90+ 'page-api-block:xl:max-2xl:my-4 ' ,
9191 'page-api-block:p-2'
9292 ) }
9393 >
You can’t perform that action at this time.
0 commit comments