1
1
// ==UserScript==
2
2
// @name UnityForumFixer
3
3
// @namespace https://unitycoder.com/
4
- // @version 0.421 (25 .08.2024)
4
+ // @version 0.5 (26 .08.2024)
5
5
// @description Fixes For Unity Forums - https://github.com/unitycoder/UnityForumFixer
6
6
// @author unitycoder.com
7
- // @match https://discussions.unity.com/*
7
+ // @match https://discussions.unity.com/latest
8
+ // @match https://discussions.unity.com/t/*
8
9
// @grant none
9
10
// ==/UserScript==
10
11
@@ -96,7 +97,7 @@ function AppendCustomCSS()
96
97
.user-name { margin-bottom: 5px; font-weight: bold; text-align: center; font-size: 0.9em; color: var(--primary); text-decoration: none; display: block; word-wrap: break-word; white-space: normal; width: 100%; }
97
98
.user-name:hover { color: rgb(82,132,189); text-decoration: underline; }
98
99
.names.trigger-user-card {visibility: hidden !important;}
99
- .row { display: flex; }
100
+ /* .row { display: flex; } */
100
101
.topic-avatar { flex-basis: 10%; margin:0 !important; }
101
102
.topic-body { flex-basis: 90%; } /* Ensure the main content adjusts accordingly */
102
103
.topic-avatar {background-color: #d1d1d132;}
@@ -105,6 +106,8 @@ function AppendCustomCSS()
105
106
.topic-body {padding: 0 !important;}
106
107
.topic-map.--op {display: none !important;} /* hide view count under op post, could move it somewhere else later */
107
108
109
+ .user-signature {max-height:32px; overflow:hidden;padding: 8px 8px 4px 24px !important;} /* max size for signature */
110
+
108
111
.more-topics__container {display:none !important;} /* hide suggested topics at bottom */
109
112
/* unity footer & content - could hide it.. but then unity is sad*/
110
113
.unity-footer {font-size:0.7em !important; line-height: none !important; padding:0 !important; text-align:center !important;}
@@ -113,7 +116,7 @@ function AppendCustomCSS()
113
116
.unity-footer-menu.unity-footer-menu-legal.processed { list-style: none; padding: 0; margin: 0; display: flex; justify-content: center; }
114
117
.unity-footer-menu.unity-footer-menu-legal.processed li { margin: 0 10px; }
115
118
116
-
119
+
117
120
/* added custom fields */
118
121
.original-poster-span {font: 13px 'Inter', sans-serif !important; color: rgb(150, 150, 150); } /* original poster below post title */
119
122
.latest-poster-span { display: block; word-break: break-all; max-width: 100%; font: 14px 'Inter', sans-serif !important;} /* activity, latest poster */
0 commit comments