fix: resolve tooltip opacity, species icons, catalog pagination and swipe, image frames and description collapse
This commit is contained in:
1 parent
0b52f9e9e4
commit
9daaa22677
17 files changed
+3050
-2970
No files matched your search
@@ -92,15 +92,15 @@ export default function Tooltip({ termKey, children, onWikiNavigate }: TooltipPr
|
||||
animate={{ opacity: 1, y: 0, scale: 1 }}
|
||||
exit={{ opacity: 0, y: 10, scale: 0.95 }}
|
||||
onClick={(e) => e.stopPropagation()}
|
||||
className={`absolute bottom-full mb-3 w-72 max-w-[calc(100vw-2rem)] p-4 sm:p-5 bg-white text-medical-gray-900 rounded-2xl shadow-2xl border border-medical-gray-200 z-[100] text-sm ${positionClass}`}
|
||||
className={`absolute bottom-full mb-3 w-72 max-w-[calc(100vw-2rem)] p-4 sm:p-5 bg-white text-medical-gray-900 rounded-2xl shadow-2xl border-2 border-medical-gray-300/80 z-[100] text-sm ${positionClass}`}
|
||||
dir="rtl"
|
||||
>
|
||||
<div className="flex items-center gap-2 mb-2 text-canina-blue">
|
||||
<Info className="w-4 h-4 shrink-0" />
|
||||
<Info className="w-4 h-4 shrink-0 text-canina-blue" />
|
||||
<span className="font-black text-[11px] uppercase tracking-widest text-canina-blue">دانشنامه علمی کنینا</span>
|
||||
</div>
|
||||
<h5 className="font-black text-base text-medical-gray-900 mb-2 leading-snug">{termData.term}</h5>
|
||||
<p className="text-medical-gray-600 text-xs leading-relaxed mb-4 font-bold">
|
||||
<p className="text-medical-gray-800 text-xs leading-relaxed mb-4 font-bold text-justify">
|
||||
{termData.definition}
|
||||
</p>
|
||||
{termData.wikiId && (
|
||||
|
||||
Reference in new issue
Block a user