File tree 2 files changed +9
-1
lines changed
packages/gitbook/src/components/DocumentView/OpenAPI
2 files changed +9
-1
lines changed Original file line number Diff line number Diff line change
1
+ ---
2
+ ' gitbook ' : patch
3
+ ---
4
+
5
+ Fix OpenAPI path overflow on mobile
Original file line number Diff line number Diff line change 397
397
398
398
/* Path */
399
399
.openapi-path {
400
- @apply flex items-start text-sm gap-2 h-fit min-w-0 max-w-full;
400
+ @apply flex items-start text-sm gap-2 h-fit overflow-x-auto min-w-0 max-w-full;
401
+ scrollbar-width : none;
402
+ -ms-overflow-style : none;
401
403
}
402
404
403
405
.openapi-path-variable {
415
417
.openapi-path-title {
416
418
@apply flex-1 relative font-normal text-left font-mono text-tint-strong/10;
417
419
@apply py-0.5 px-1 rounded hover:bg-tint cursor-pointer transition-colors;
420
+ @apply whitespace-nowrap md:whitespace-normal;
418
421
}
419
422
420
423
.openapi-path-title [data-deprecated = "true" ] {
You can’t perform that action at this time.
0 commit comments