Skip to content
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

Edit vertical-align style for structured content hyperlinks #279

Merged
merged 1 commit into from
Oct 22, 2023
Merged

Edit vertical-align style for structured content hyperlinks #279

merged 1 commit into from
Oct 22, 2023

Conversation

stephenmk
Copy link

Related issue: vertical-align style on structured content hyperlinks causes visual glitches

I'll preface this by saying I haven't actually used Yomitan. I've only tested this in the final version of Yomichan (published Oct 23 2022) and the latest version of Yomibaba. Presumably they behave identically.

I produced a sample dictionary.zip with a few entries to test this style change. The relevant entry is under the word リンク. Images are below.

Links in Chromium with 'vertical-align' set to 'middle'

chromium_middle

Links in Chromium with 'vertical-align' set to 'baseline'

chromium_baseline

For whatever reason, Firefox doesn't display much of a difference. It seems that its rendering engine must handle vertical-align styles differently. I assume this is why toasted-nutbread didn't catch the problem.

Links in Firefox with 'vertical-align' set to 'middle'

firefox_middle

Links in Firefox with 'vertical-align' set to 'baseline'

firefox_baseline

@stephenmk stephenmk requested a review from a team as a code owner October 21, 2023 05:23
@github-actions
Copy link

✔️ No visual differences introduced by this PR.

View Playwright Report (note: open the "playwright-report" artifact)

@djahandarie djahandarie added this pull request to the merge queue Oct 22, 2023
@djahandarie djahandarie added kind/meta The issue or PR is meta kind/bug The issue or PR is regarding a bug and removed kind/meta The issue or PR is meta labels Oct 22, 2023
Merged via the queue into yomidevs:master with commit aaa570a Oct 22, 2023
5 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug The issue or PR is regarding a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants