Skip to content

Commit

Permalink
feat: doc scrolls
Browse files Browse the repository at this point in the history
  • Loading branch information
vik378 committed Apr 24, 2024
1 parent c26d3a0 commit 38565f4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion frontend/src/components/InstanceView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ export const InstanceView = ({ templateName, objectID, endpoint }) => {
return (
<div
ref={contentRef}
className={`html-content rounded-lg border-4 border-transparent bg-gray-100 p-8 text-gray-700 shadow-lg scrollbar scrollbar-track-gray-200 scrollbar-thumb-gray-400 hover:border-gray-300 dark:bg-custom-dark-2 dark:text-gray-100 dark:shadow-dark dark:scrollbar-track-custom-dark-3 dark:scrollbar-thumb-slate-600 md:w-[210mm] print:m-0 print:bg-transparent print:p-0 print:shadow-none ${
className={`html-content rounded-lg border-4 border-transparent bg-white p-8 text-gray-700 shadow-lg scrollbar scrollbar-track-gray-200 scrollbar-thumb-gray-400 hover:border-gray-300 dark:bg-custom-dark-2 dark:text-gray-100 dark:shadow-dark dark:scrollbar-track-custom-dark-3 dark:scrollbar-thumb-slate-600 md:w-[210mm] print:m-0 print:bg-transparent print:p-0 print:shadow-none ${
isHovering ? "z-50 shadow-md" : ""
}`}
onMouseEnter={() => setIsHovering(true)}
Expand Down

0 comments on commit 38565f4

Please sign in to comment.