nebular icon indicating copy to clipboard operation
nebular copied to clipboard

print preview by scale in chrome version 126 for RTL direction

Open htaebi opened this issue 8 months ago • 0 comments

Issue type

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

  • [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

htaebi avatar Jun 23 '24 07:06 htaebi