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

🐞 - CSS breakpoints & TuiBreakpointService can be out of sync if browser has custom font-size #9856

Open
nsbarsukov opened this issue Nov 27, 2024 · 0 comments

Comments

@nsbarsukov
Copy link
Member

nsbarsukov commented Nov 27, 2024

Reproduction url

https://stackblitz.com/edit/css-breakpoints-vs-breakpoint-service?file=src%2Findex.html,src%2Fapp%2Fapp.template.html

Description

  1. Open StackBlitz
  2. Set window width to 1024px.

Case 1. html has default value of font-size

Image

Case 2. html has font-size: 30px

Image

Case 3. Chrome browser setting has custom font-size

  1. Open
    chrome://settings/appearance
    
  2. Select "Customize font" section
  3. Set Font size to 30px
    Image

Taiga UI version

4.17.0

Browser Used

Chrome

OS Used

macOS

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

1 participant