akveo / akveo/nebular

print preview by scale in chrome version 126 for RTL direction

Open
#3,259 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
8.1k
Forks
1.5k
PR merge metrics
No merged PRs in 30d

Description

### 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

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.