Skip to content

Commit 692ded2

Browse files
authored
Update unity-forum-fixer.js
1 parent 825e482 commit 692ded2

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

‎unity-forum-fixer.js

+3-4
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
// ==UserScript==
22
// @name UnityForumFixer
33
// @namespace https://unitycoder.com/
4-
// @version 0.41 (24.08.2024)
4+
// @version 0.42 (25.08.2024)
55
// @description Fixes For Unity Forums - https://github.com/unitycoder/UnityForumFixer
66
// @author unitycoder.com
77
// @match https://discussions.unity.com/*
@@ -116,11 +116,10 @@ function AppendCustomCSS()
116116
/* added custom fields */
117117
.original-poster-span {font: 13px 'Inter', sans-serif !important; color: rgb(150, 150, 150); } /* original poster below post title */
118118
.latest-poster-span { display: block; word-break: break-all; max-width: 100%; font: 14px 'Inter', sans-serif !important;} /* activity, latest poster */
119-
120119
.combined-views-container {display: flex;justify-content: space-between;width: 100%;white-space: nowrap; font-size:13px;}
121120
.combined-views-label {color: rgb(150, 150, 150); text-align: left;}
122121
.combined-views-number {color: var(--primary); margin-left: auto;text-align: right;}
123-
122+
.custom-post-username {color: var(--primary);}
124123
125124
126125
`;
@@ -316,7 +315,7 @@ function PostViewShowOriginalPosterInfo()
316315

317316
// Create a new anchor element to wrap the user name and link to the profile
318317
var userLink = document.createElement('a');
319-
userLink.className = 'user-name';
318+
userLink.className = 'custom-post-username';
320319
userLink.href = 'https://discussions.unity.com/u/' + userName;
321320
userLink.textContent = userName;
322321

0 commit comments

Comments
 (0)