Skip to content

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

Open
@htaebi

Description

@htaebi

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions