Skip to content

Commit 89a5816

Browse files
authored
Fix OpenAPI disclosure label ("Show properties") misalignment on mobile (#3193)
1 parent c3f6b8c commit 89a5816

File tree

2 files changed

+6
-1
lines changed

2 files changed

+6
-1
lines changed

.changeset/young-poets-cry.md

+5
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"gitbook": patch
3+
---
4+
5+
Fix OpenAPI disclosure label ("Show properties") misalignment on mobile

packages/gitbook/src/components/DocumentView/OpenAPI/style.css

+1-1
Original file line numberDiff line numberDiff line change
@@ -806,7 +806,7 @@ body:has(.openapi-select-popover) {
806806
@media (hover: none) {
807807
/* Make button label always visible on non-hover devices like phones */
808808
.openapi-disclosure-trigger-label {
809-
@apply relative ring-1 bg-tint-base;
809+
@apply relative ring-1 bg-tint-base right-0;
810810
}
811811
.openapi-disclosure-trigger-label span {
812812
@apply block;

0 commit comments

Comments
 (0)