Skip to content

Commit

Permalink
Remove scrollbar on mobile screen HistoryContent
Browse files Browse the repository at this point in the history
  • Loading branch information
gkatrakazas committed Dec 2, 2024
1 parent 6c47e35 commit 498b4a7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/components/History/HistoryDetailContent.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ const HistoryDetailContent = ({ historyItem }) => {

{/* Render details of the currently selected credential */}
{historyItem[currentSlide - 1] && (
<div className={`pt-5 overflow-y-auto items-center custom-scrollbar ${screenType !== 'mobile' ? 'max-h-[30vh]' : 'max-h-[25vh]'} `}>
<div className={`pt-5 ${screenType !== 'mobile' ? 'overflow-y-auto items-center custom-scrollbar max-h-[30vh]' : ''} `}>
<CredentialInfo credential={historyItem[currentSlide - 1]} display='all' />
</div>
)}
Expand Down

0 comments on commit 498b4a7

Please sign in to comment.