-
-
Notifications
You must be signed in to change notification settings - Fork 8
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
UI misalignment due to the font-family choice #38
Comments
I apologize for the delayed response to this issue and thank you for bringing it to our attention. While I haven't been able to reproduce the issue in my environment yet, I will investigate further to understand the problem. |
@johnhany97 If it's convenient for you, could you please provide details about your operating system and browser? |
@yamadashy , thank you for taking a look. I really appreciate your help here. I'm running this on my M1 MacBook Pro on macOS Sonoma (though this issue started on the previous macOS), and opening Slack through Chrome. I have Slack saved as a Chrome app - but opening Slack through the regular Chrome window still displays this message. I dug deeper based on your insights and noticed that for the spans that use the class highlighted above, Chrome is choosing to render I attempted to change both font types in Chrome's settings but that doesn't seem to fix it yet. |
Thank you for providing such detailed information; it's been very insightful. The shared details about the fonts being used helped identify the cause of the issue. When I experimented with By the way, perhaps because I am Japanese, the font used for sans-serif was Hiragino Kaku Gothic ProN, which support all characters, so I didn't initially notice this issue. As of now, I haven't come up with a good solution, but I'll explore some options, such as creating a web font dedicated solely to Box-drawing characters and loading it accordingly. Thank you for your research and report. |
Thank you for figuring this out, I really appreciate you spending the time to put up the codepen as well - this has been very informative. I leave it to you if you want to investigate a solution that comes pre-bundled with the extension. In my case, I've proceeded to pick another font (Arial Unicode MS) as the default sans-serif font and that's resolved my initial issue. While i'm here, I wanted to thank you for building this plugin - it's been of great help visually as I'm in a significant number of channels that have similar prefixes. |
The fix has been implemented into the main branch. I will be testing it on a few PCs and across several Slack workspaces over the next three days. If everything works well without any issues, I'll proceed to create a new release version and make it available. |
@johnhany97 Thank you for reporting the issue. It's greatly appreciated. Wishing you a wonderful holiday season! |
I noticed that a few weeks ago, the plugin started yielding the following mis-alignment when used in my Slack workspace:
On experimenting with the CSS, I noticed that if I were to remove
monospace
from the following code snippet, the issue is resolved.https://github.com/yamadashy/slack-channels-grouping/blob/main/app/styles/content.css#L14
I tried opening the Slack workspace in incognito mode with only this plugin enabled and was still facing the same issue. Please let me know if opening this PR would be sufficient to resolve this issue, or if there are other complications you foresee from such a change.
The text was updated successfully, but these errors were encountered: