diff --git a/app/routes/users/components/UserProfile/UserProfile.module.css b/app/routes/users/components/UserProfile/UserProfile.module.css
index bc0d449e19..b015f2c5d6 100644
--- a/app/routes/users/components/UserProfile/UserProfile.module.css
+++ b/app/routes/users/components/UserProfile/UserProfile.module.css
@@ -77,14 +77,18 @@
margin-bottom: var(--spacing-lg);
}
-.settingsIcon {
- transition: transform var(--easing-medium);
-
+.settingsButton {
&:hover {
- transform: rotate(90deg);
+ .settingsIcon {
+ transform: rotate(90deg);
+ }
}
}
+.settingsIcon {
+ transition: transform var(--easing-medium);
+}
+
.soMeIcon {
color: var(--lego-font-color);
margin-right: var(--spacing-sm);
diff --git a/app/routes/users/components/UserProfile/index.tsx b/app/routes/users/components/UserProfile/index.tsx
index c12adbad66..4ef9fa8aad 100644
--- a/app/routes/users/components/UserProfile/index.tsx
+++ b/app/routes/users/components/UserProfile/index.tsx
@@ -157,12 +157,17 @@ const UserProfile = () => {
title={user.fullName}
actionButtons={
showSettings && (
- }
- size={22}
- className={styles.settingsIcon}
- to={`/users/${user.username}/settings/profile`}
- />
+
+ }
+ size={22}
+ className={styles.settingsIcon}
+ />{' '}
+ Innstillinger
+
)
}
>
@@ -195,12 +200,6 @@ const UserProfile = () => {
)}
- {showSettings && (
-
- } size={19} />
- Innstillinger
-
- )}