From e350f20b8e14099298c0710b82c39c8bf9a4a76e Mon Sep 17 00:00:00 2001 From: Szymon Tondowski Date: Sat, 19 Apr 2025 22:13:15 +0200 Subject: [PATCH 1/2] Fix: aligment in text --- package.json | 2 +- public/github-usernames.user.js | 4 ++++ src/user-script/parts/render-users.js | 4 ++++ 3 files changed, 9 insertions(+), 1 deletion(-) diff --git a/package.json b/package.json index 1c6f5a7..50046a8 100644 --- a/package.json +++ b/package.json @@ -1,7 +1,7 @@ { "name": "github-usernames", "private": true, - "version": "1.1.1", + "version": "1.1.2", "type": "module", "author": "Szymon Tondowski", "license": "MIT", diff --git a/public/github-usernames.user.js b/public/github-usernames.user.js index 25eddf6..043bfd5 100644 --- a/public/github-usernames.user.js +++ b/public/github-usernames.user.js @@ -1165,6 +1165,10 @@ appendCSS(` --u2n-user-bg--hover: #30582d; } + *:has(> [data-u2n-cache-user]) { + vertical-align: middle; + } + [data-u2n-cache-user][data-u2n-cache-user][data-u2n-cache-user] { display: inline-flex; justify-content: start; diff --git a/src/user-script/parts/render-users.js b/src/user-script/parts/render-users.js index e258584..9463e59 100644 --- a/src/user-script/parts/render-users.js +++ b/src/user-script/parts/render-users.js @@ -103,6 +103,10 @@ appendCSS(` --u2n-user-bg--hover: #30582d; } + *:has(> [data-u2n-cache-user]) { + vertical-align: middle; + } + [data-u2n-cache-user][data-u2n-cache-user][data-u2n-cache-user] { display: inline-flex; justify-content: start; From 17e560b2fb83eae84a5b41cbf855f401eec246f7 Mon Sep 17 00:00:00 2001 From: Szymon Tondowski Date: Sat, 19 Apr 2025 22:15:06 +0200 Subject: [PATCH 2/2] Fix: aligment in text --- public/github-usernames.user.js | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/public/github-usernames.user.js b/public/github-usernames.user.js index 043bfd5..cf5a4d2 100644 --- a/public/github-usernames.user.js +++ b/public/github-usernames.user.js @@ -3,7 +3,7 @@ // @description Replace ambiguous usernames with actual names from user profiles. // @namespace deykun // @author deykun -// @version 1.1.1 +// @version 1.1.2 // @include https://github.com* // @grant none // @run-at document-start @@ -31,7 +31,7 @@ const getUsersByUsernamesFromLS = () => getFromLocalStorage('u2n-users'); const getCustomNamesByUsernamesFromLS = () => getFromLocalStorage('u2n-users-names'); window.U2N = { - version: '1.1.1', + version: '1.1.2', isDevMode: false, cache: { HTML: {},