-
Notifications
You must be signed in to change notification settings - Fork 2.6k
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
Rtl updates 2 #6340
Conversation
@@ -158,6 +159,7 @@ export class HaTabsSubpageDataTable extends LitElement { | |||
.hasFab=${this.hasFab} | |||
.id=${this.id} | |||
.noDataText=${this.noDataText} | |||
.dir="${computeRTLDirection(this.hass)}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.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)}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.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)}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.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"; |
There was a problem hiding this comment.
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)}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
.dir="${computeRTLDirection(this.hass)}" | |
.dir=${computeRTLDirection(this.hass)} |
ha-data-table RTL support