Skip to content

ObjectPage: Header button not working with RTL #366

@lpohren

Description

@lpohren

Describe the bug
On the Object header, whenever we have a button in the header, RTL is not applied on it.

To Reproduce
Steps to reproduce the behavior:

  1. set dir="rtl" on the root element
  2. Open an Object page that contains a button in the header
  3. The button is still left oriented

Expected behavior
A clear and concise description of what you expected to happen.

Screenshots
image

UI5 Web Components for React Information
Operating System:
@ui5/webcomponents-react version: 0.9.0-rc.1

Additional comments
For the element in the image above, a possible solution is changing:
float: right; right: 1.25rem

for

float: left; left: 1.25rem

Metadata

Metadata

Assignees

Labels

No labels
No labels

Type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions