Skip to content

📈 Open source, privacy-first web analytics — a cookie-less Google Analytics alternative with built-in error tracking and performance monitoring. Self-host it or use our cloud. Get started for free!

Added :hover opacity to button

Blaumaus17682e7a6573
diff --git a/src/components/Header/index.jsx b/src/components/Header/index.jsx
index 570912db9..8977ccf32 100644
--- a/src/components/Header/index.jsx
+++ b/src/components/Header/index.jsx
@@ -30,6 +30,7 @@ const Header = ({ authenticated }) => {
<>
<Link to={routes.dashboard} className="btn btn-outline-primary mr-3">Dashboard</Link>
<BoxArrowRight
+ className="btn-hover"
color="#007bff"
size="24"
role="button"
diff --git a/src/index.scss b/src/index.scss
index 572199c50..d1f9734b9 100644
--- a/src/index.scss
+++ b/src/index.scss
@@ -15,4 +15,12 @@ code {
.spinner-lg {
width: 4rem !important;
height: 4rem !important;
+}
+
+.btn-hover {
+ transition: opacity .15s ease-in-out;
+}
+
+.btn-hover:hover {
+ opacity: 0.6;
}
\ No newline at end of file