|
1 | 1 | // ==UserScript==
|
2 | 2 | // @name UnityForumFixer
|
3 | 3 | // @namespace https://unitycoder.com/
|
4 |
| -// @version 0.41 (24.08.2024) |
| 4 | +// @version 0.42 (25.08.2024) |
5 | 5 | // @description Fixes For Unity Forums - https://github.com/unitycoder/UnityForumFixer
|
6 | 6 | // @author unitycoder.com
|
7 | 7 | // @match https://discussions.unity.com/*
|
@@ -116,11 +116,10 @@ function AppendCustomCSS()
|
116 | 116 | /* added custom fields */
|
117 | 117 | .original-poster-span {font: 13px 'Inter', sans-serif !important; color: rgb(150, 150, 150); } /* original poster below post title */
|
118 | 118 | .latest-poster-span { display: block; word-break: break-all; max-width: 100%; font: 14px 'Inter', sans-serif !important;} /* activity, latest poster */
|
119 |
| - |
120 | 119 | .combined-views-container {display: flex;justify-content: space-between;width: 100%;white-space: nowrap; font-size:13px;}
|
121 | 120 | .combined-views-label {color: rgb(150, 150, 150); text-align: left;}
|
122 | 121 | .combined-views-number {color: var(--primary); margin-left: auto;text-align: right;}
|
123 |
| -
|
| 122 | + .custom-post-username {color: var(--primary);} |
124 | 123 |
|
125 | 124 |
|
126 | 125 | `;
|
@@ -316,7 +315,7 @@ function PostViewShowOriginalPosterInfo()
|
316 | 315 |
|
317 | 316 | // Create a new anchor element to wrap the user name and link to the profile
|
318 | 317 | var userLink = document.createElement('a');
|
319 |
| - userLink.className = 'user-name'; |
| 318 | + userLink.className = 'custom-post-username'; |
320 | 319 | userLink.href = 'https://discussions.unity.com/u/' + userName;
|
321 | 320 | userLink.textContent = userName;
|
322 | 321 |
|
|
0 commit comments