Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions .changeset/empty-radios-trade.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'gitbook': patch
---

Fix OpenAPI path overflow on mobile
Original file line number Diff line number Diff line change
Expand Up @@ -397,7 +397,9 @@

/* Path */
.openapi-path {
@apply flex items-start text-sm gap-2 h-fit min-w-0 max-w-full;
@apply flex items-start text-sm gap-2 h-fit overflow-x-auto min-w-0 max-w-full;
scrollbar-width: none;
-ms-overflow-style: none;
}

.openapi-path-variable {
Expand All @@ -415,6 +417,7 @@
.openapi-path-title {
@apply flex-1 relative font-normal text-left font-mono text-tint-strong/10;
@apply py-0.5 px-1 rounded hover:bg-tint cursor-pointer transition-colors;
@apply whitespace-nowrap md:whitespace-normal;
}

.openapi-path-title[data-deprecated="true"] {
Expand Down