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

print preview by scale in chrome version 126 for RTL direction #3259

Open
1 of 2 tasks
htaebi opened this issue Jun 23, 2024 · 0 comments
Open
1 of 2 tasks

print preview by scale in chrome version 126 for RTL direction #3259

htaebi opened this issue Jun 23, 2024 · 0 comments

Comments

@htaebi
Copy link

htaebi commented Jun 23, 2024

Issue type

I'm submitting a ... (check one with "x")

  • bug report
  • feature request

Issue description

Current behavior:
when set direction to RTL and print page with scale 80% and lower, there is big problem in output

Expected behavior:
Should not have compilation error.

Steps to reproduce:
open https://www.akveo.com/ngx-admin/pages/dashboard and set direction to RTL and then print preview with custom scale such as 60% and see the problem.

to solve the problem must edit NbLayoutComponent and set dir="rtl" to body element instead of html element

Related code:

constructor(private layoutDirectionService: NbLayoutDirectionService) {}
....
      this.layoutDirectionService.setDirection(NbLayoutDirection.RTL);

Other information:

all Version of npm, angular, nebular
chrome Version 126.0.6478.115

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

No branches or pull requests

1 participant