Skip to content

Commit

Permalink
use tailwind to fix the copy on mobile
Browse files Browse the repository at this point in the history
  • Loading branch information
technophile-04 committed Apr 10, 2024
1 parent 65ef2c8 commit ca7f963
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,10 @@ export const ContractReadMethods = ({
if (!functionsToDisplay.length) {
return (
<div className="py-5">
<span className="font-light text-gray-500 my-5">Please select read methods from the sidebar.</span>
<span className="font-light text-gray-500 my-5">
Please select read methods from the <span className="sm:hidden">hamburger menu</span>
<span className="hidden sm:inline">sidebar</span>.
</span>
</div>
);
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,10 @@ export const ContractWriteMethods = ({
if (!functionsToDisplay.length) {
return (
<div className="py-5">
<span className="font-light text-gray-500">Please select write methods from the sidebar.</span>
<span className="font-light text-gray-500 my-5">
Please select read methods from the <span className="sm:hidden">hamburger menu</span>
<span className="hidden sm:inline">sidebar</span>.
</span>
</div>
);
}
Expand Down

0 comments on commit ca7f963

Please sign in to comment.