We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 777ce0e commit bf7102aCopy full SHA for bf7102a
1 file changed
src/components/markdown/Tabs.tsx
@@ -118,10 +118,11 @@ const Tab = React.memo(
118
activeSlug === tab.slug
119
? 'border-current text-current bg-gray-100 dark:bg-gray-900'
120
: 'border-transparent text-gray-600 hover:text-gray-900 dark:text-gray-400 dark:hover:text-gray-200'
121
- }`}
+ }`
122
+ }
123
>
124
{option && <img src={option.logo} alt="" className="w-4 h-4 -ml-1" />}
- <span>{tab.name}</span>
125
+ <span className={`${option ? 'capitalize' : ''}`}>{tab.name}</span>
126
</button>
127
)
128
},
0 commit comments