Skip to content

Commit

Permalink
fix: hide scrollbar when not necessary
Browse files Browse the repository at this point in the history
  • Loading branch information
Wagalidoom committed May 19, 2024
1 parent 6cd6134 commit 7f8f8f4
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion app/connect/page.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ export default function Page() {
</Link>
</div>
<p className="text-2xl lg:text-3xl text-black font-bold mt-8 w-1/2 text-center">Choose your preferred wallet</p>
<div className="w-full flex flex-col divide-slate-700 divide-y mt-8 overflow-y-scroll">
<div className="w-full flex flex-col divide-slate-700 divide-y mt-8 overflow-y-auto">
{connectors.map((connector, index) => {
return (
<div className="flex w-full justify-between items-center text-black hover:bg-[#E8E1CF] py-4 p-2 first:rounded-t-lg last:rounded-b-lg" key={connector.uid} onClick={() => connect({ connector })}>
Expand Down
2 changes: 1 addition & 1 deletion components/validator.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ export default function Validator() {
) : step === "validated" ? (
<div className="w-full flex flex-col items-center">
{statuses && statuses.length > 0 ? (
<div className="overflow-y-scroll">
<div className="overflow-y-auto">
{statuses.map((status, index) => (
<div key={index}>
<h2>
Expand Down

0 comments on commit 7f8f8f4

Please sign in to comment.