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

Rtl updates 2 #6340

Merged
merged 3 commits into from
Jul 7, 2020
Merged

Rtl updates 2 #6340

merged 3 commits into from
Jul 7, 2020

Conversation

yosilevy
Copy link
Contributor

@yosilevy yosilevy commented Jul 6, 2020

ha-data-table RTL support

@@ -158,6 +159,7 @@ export class HaTabsSubpageDataTable extends LitElement {
.hasFab=${this.hasFab}
.id=${this.id}
.noDataText=${this.noDataText}
.dir="${computeRTLDirection(this.hass)}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.dir="${computeRTLDirection(this.hass)}"
.dir=${computeRTLDirection(this.hass)}

@@ -91,6 +92,7 @@ export class ZHAClustersDataTable extends LitElement {
.id=${"cluster_id"}
selectable
auto-height
.dir="${computeRTLDirection(this.hass)}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.dir="${computeRTLDirection(this.hass)}"
.dir=${computeRTLDirection(this.hass)}

@@ -147,6 +148,7 @@ export class ZHADeviceEndpointDataTable extends LitElement {
.data=${this._deviceEndpoints(this.deviceEndpoints)}
.selectable=${this.selectable}
auto-height
.dir="${computeRTLDirection(this.hass)}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.dir="${computeRTLDirection(this.hass)}"
.dir=${computeRTLDirection(this.hass)}

@@ -30,6 +30,7 @@ import type { Lovelace } from "../../types";
import { addEntitiesToLovelaceView } from "../add-entities-to-view";
import "../../../../components/ha-svg-icon";
import { mdiPlus } from "@mdi/js";
import { computeRTLDirection } from "../../../../common/util/compute_rtl";
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Combine the 2 imports

@@ -171,6 +172,7 @@ export class HuiUnusedEntities extends LitElement {
.id=${"entity_id"}
selectable
@selection-changed=${this._handleSelectionChanged}
.dir="${computeRTLDirection(this.hass)}"
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
.dir="${computeRTLDirection(this.hass)}"
.dir=${computeRTLDirection(this.hass)}

@bramkragten bramkragten merged commit c7127b6 into home-assistant:dev Jul 7, 2020
@yosilevy yosilevy deleted the RTL-updates-2 branch July 7, 2020 19:27
@bramkragten bramkragten mentioned this pull request Jul 14, 2020
@github-actions github-actions bot locked and limited conversation to collaborators Jul 5, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants