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

Minor vertical alignment issue with native styling #198

Open
HovKlan-DH opened this issue Feb 20, 2025 · 0 comments
Open

Minor vertical alignment issue with native styling #198

HovKlan-DH opened this issue Feb 20, 2025 · 0 comments
Labels
bug Something isn't working

Comments

@HovKlan-DH
Copy link

Describe the bug

There is a minor vertical misalignment with the marked texts when using the webawesome.css. It is by all means not critical, but it is notisable when suddenly spotting it :-)

To Reproduce

Steps to reproduce the behavior:

  1. Create this code:
<!DOCTYPE html>
<html lang="en">
<head>
<link rel="stylesheet" href="https://early.webawesome.com/[email protected]/dist/styles/themes/default.css" />
<link rel="stylesheet" href="https://early.webawesome.com/[email protected]/dist/styles/webawesome.css" />
<link rel="stylesheet" href="https://early.webawesome.com/[email protected]/dist/styles/utilities/fouce.css" />
<script type="module" src="https://early.webawesome.com/[email protected]/dist/webawesome.loader.js"></script>
</head>
<body>

This word is <mark>highlighted</mark> <highlight>highlighted</highlight>, this is <ins>new</ins> <new>new</new>, this is <del>deleted</del>, this is <code>inline code</code>, this is sup-header <sup>top</sup> and this is sub-header <sub>bottom</sub>

</body>
</html>
  1. Take a screenshot and zoom heavily on e.g. the "highligted" marking, and see there i a 1-2px misalignment to the other normal text.

Demo

https://jsfiddle.net/6oarwj1L/

Screenshots

Image

Browser / OS

  • OS: Windows
  • Browser: Chrome
  • Browser version: 133.0
@HovKlan-DH HovKlan-DH added the bug Something isn't working label Feb 20, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

1 participant