Skip to content

Commit 48efcf6

Browse files
authored
Update unity-forum-fixer.js
fix tooltip bg color for dark mode
1 parent bbe125b commit 48efcf6

File tree

1 file changed

+2
-3
lines changed

1 file changed

+2
-3
lines changed

‎unity-forum-fixer.js

+2-3
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.71 (26.09.2024)
4+
// @version 0.72 (28.11.2024)
55
// @description Fixes For Unity Forums - https://github.com/unitycoder/UnityForumFixer
66
// @author unitycoder.com
77
// @match https://discussions.unity.com/latest
@@ -138,8 +138,7 @@ function AppendCustomCSS()
138138
139139
.custom-post-username {margin-bottom:3px;color: var(--primary);}
140140
.custom-user-creation-date {width:45px;margin-top:6px;font: 13px 'Inter', sans-serif !important; color: rgb(150, 150, 150);}
141-
.custom-post-preview { position: absolute; max-width: 450px; max-height: 200px; background-color: white; border: 1px solid black; padding: 5px; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 1000; }
142-
141+
.custom-post-preview { position: absolute; max-width: 450px; max-height: 200px; background-color: var(--primary-low); border: 1px solid black; padding: 5px; border-radius: 5px; box-shadow: 0 0 10px rgba(0, 0, 0, 0.1); z-index: 1000; }
143142
144143
`;
145144
document.head.appendChild(style);

0 commit comments

Comments
 (0)