File tree Expand file tree Collapse file tree 2 files changed +9
-1
lines changed
packages/gitbook/src/components/DocumentView/OpenAPI Expand file tree Collapse file tree 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 397397
398398/* Path */
399399.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;
401403}
402404
403405.openapi-path-variable {
415417.openapi-path-title {
416418 @apply flex-1 relative font-normal text-left font-mono text-tint-strong/10;
417419 @apply py-0.5 px-1 rounded hover:bg-tint cursor-pointer transition-colors;
420+ @apply whitespace-nowrap md:whitespace-normal;
418421}
419422
420423.openapi-path-title [data-deprecated = "true" ] {
You can’t perform that action at this time.
0 commit comments