File tree Expand file tree Collapse file tree 2 files changed +9
-3
lines changed
packages/gitbook/src/components/DocumentView/OpenAPI Expand file tree Collapse file tree 2 files changed +9
-3
lines changed Original file line number Diff line number Diff line change 1+ ---
2+ ' gitbook ' : patch
3+ ---
4+
5+ Fix OpenAPI tabs indicator overflow
Original file line number Diff line number Diff line change 521521
522522/* Tabs */
523523.openapi-tabs-list {
524- @apply flex flex-row gap-1.5 py-1.5 px-2.5 border-b border-tint-subtle w-full overflow-x-scroll;
524+ @apply flex flex-row gap-1.5 py-1.5 px-2.5 w-full overflow-x-scroll;
525525 scrollbar-width : none;
526526 -ms-overflow-style : none;
527527}
531531}
532532
533533.openapi-tabs-tab [aria-selected = "true" ] {
534- @apply text-primary after:absolute after:-bottom-2 after:left-0 after:w-full after:h-px after:bg-primary-solid after:transition-all;
534+ @apply text-primary after:absolute after:-bottom-[ calc ( 0.375 rem_+_1px)] after:z-20 after:left-0 after:w-full after:h-px after:bg-primary-solid after:transition-all;
535535}
536536
537537.openapi-tabs-panel {
538- @apply flex-1 text-sm focus-visible:outline-none;
538+ @apply flex-1 text-sm relative focus-visible:outline-none;
539+ @apply before:w-full before:h-px before:absolute before:bg-tint-6 before:-top-px before:z-10;
539540}
540541
541542.openapi-tabs-footer {
You can’t perform that action at this time.
0 commit comments