Skip to content

Commit

Permalink
feat: show button on md and smaller screens
Browse files Browse the repository at this point in the history
  • Loading branch information
jcstein committed Jun 17, 2024
1 parent e07580c commit f144f63
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/RPCMethod.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -84,7 +84,7 @@ const RPCMethod = ({
<p className='text-sm font-light text-gray-700'>{method.description}</p>
<button
type='button'
className='mt-3 inline-flex hidden w-full justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-base font-medium text-gray-700 shadow-sm hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2 md:block'
className='mt-3 inline-flex w-full justify-center rounded-md border border-gray-300 bg-white px-4 py-2 text-base font-medium text-gray-700 shadow-sm hover:text-gray-500 focus:outline-none focus:ring-2 focus:ring-purple-500 focus:ring-offset-2 md:block'
onClick={() => {
pkg && setCurrentRequest(getExampleRequest(pkg, method));
setPlaygroundOpen(true);
Expand Down

0 comments on commit f144f63

Please sign in to comment.