From 4ee4e8f5439781c4ac39fc18ae5091478531cf42 Mon Sep 17 00:00:00 2001 From: Piotr Gawron <p.gawron@atcomp.pl> Date: Tue, 4 Feb 2025 15:58:36 +0100 Subject: [PATCH] use specific formatting only for a href --- CHANGELOG | 6 +++++- .../Drawer/BioEntityDrawer/BioEntityDrawer.component.tsx | 2 +- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/CHANGELOG b/CHANGELOG index 810c9a49..308d1ccf 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,3 +1,8 @@ +minerva-front (18.1.1) stable; urgency=medium + * Bug fix: styling of notes reset only for a href (#334) + +-- Piotr Gawron <piotr.gawron@uni.lu> Tue, 04 Feb 2025 16:00:00 +0200 + minerva-front (18.1.0) stable; urgency=medium * Small improvement: support for links that should be opened immediately (#342) @@ -6,7 +11,6 @@ minerva-front (18.1.0) stable; urgency=medium * Bug fix: submap download did not download selected map (#337) * Bug fix: styling of notes contains original styling for links (#344) - -- Piotr Gawron <piotr.gawron@uni.lu> Thu, 30 Jan 2025 15:00:00 +0200 minerva-front (18.0.7) stable; urgency=medium diff --git a/src/components/Map/Drawer/BioEntityDrawer/BioEntityDrawer.component.tsx b/src/components/Map/Drawer/BioEntityDrawer/BioEntityDrawer.component.tsx index 4f714969..811e3527 100644 --- a/src/components/Map/Drawer/BioEntityDrawer/BioEntityDrawer.component.tsx +++ b/src/components/Map/Drawer/BioEntityDrawer/BioEntityDrawer.component.tsx @@ -75,7 +75,7 @@ export const BioEntityDrawer = (): React.ReactNode => { </div> )} {bioEntityData.notes && ( - <span className="visited:text-purple-600 text-blue-600 underline hover:text-blue-800"> + <span className="[&_a]:visited:text-purple-600 [&_a]:text-blue-600 [&_a]:underline [&_a]:hover:text-blue-800"> <hr className="border-b border-b-divide" /> <div className="mt-2 text-sm font-normal" -- GitLab