Skip to content

Commit

Permalink
Fix sidebar's color (asyncapi#990)
Browse files Browse the repository at this point in the history
Co-authored-by: Prince Rajpoot <[email protected]>%0ACo-authored-by: samz <[email protected]>
  • Loading branch information
helios2003 and Amzani authored Mar 26, 2024
1 parent 791dec5 commit a04a005
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions apps/studio/src/components/Navigation.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -283,11 +283,11 @@ export const Navigation: React.FunctionComponent<NavigationProps> = ({

if (!rawSpec || !document) {
return (
<div className="flex flex-1 overflow-hidden h-full justify-center items-center text-2xl mx-auto px-6 text-center" style={{ backgroundColor: 'black' }}>
<div className="flex flex-1 overflow-hidden h-full justify-center items-center text-2xl mx-auto px-6 text-center bg-gray-800">
{loading ?(
<div className="rotating-wheel"></div>
) : (
<p style={{ color: 'white' }}>Empty or invalid document. Please fix errors/define AsyncAPI document.</p>
<p className='text-white'>Empty or invalid document. Please fix errors/define AsyncAPI document.</p>
)
}
</div>
Expand Down

0 comments on commit a04a005

Please sign in to comment.