openExcludeModal(false)} />
- {localStorage.getItem('widgetStyle') === 'legacy' && (
+ {widgetStyle === 'legacy' && (
@@ -200,10 +202,10 @@ function PhotoInformation({ info, url, api }) {
)}
- {localStorage.getItem('widgetStyle') !== 'legacy' || other ? (
+ {widgetStyle !== 'legacy' || other ? (
setshowExtraInfo(true)}
onMouseLeave={() => setshowExtraInfo(false)}
>
diff --git a/src/components/widgets/background/scss/_photoinformation.scss b/src/components/widgets/background/scss/_photoinformation.scss
index 4773fb84..f19ffe53 100644
--- a/src/components/widgets/background/scss/_photoinformation.scss
+++ b/src/components/widgets/background/scss/_photoinformation.scss
@@ -123,6 +123,10 @@
text-decoration: underline;
}
}
+
+ +.photoInformation {
+ animation: none !important;
+ }
}
.infoCard {
@@ -424,7 +428,7 @@
}
}
-.photoInformation:hover {
+.photoInformation:hover, .photoInformation-legacy +.photoInformation {
.photoMap {
height: auto !important;