Skip to content

Commit

Permalink
feat(element/root): host box-sizing
Browse files Browse the repository at this point in the history
  • Loading branch information
alimd committed Dec 26, 2022
1 parent 12f9b72 commit 0c4ce83
Showing 1 changed file with 9 additions and 3 deletions.
12 changes: 9 additions & 3 deletions ui/element/src/root.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,6 +16,7 @@ export class AlwatrRootElement extends LoggerMixin(LitElement) {
:host {
display: flex;
flex-direction: column;
box-sizing: border-box;
height: 100%;
overflow: hidden;
overflow: clip;
Expand Down Expand Up @@ -43,10 +44,15 @@ export class AlwatrRootElement extends LoggerMixin(LitElement) {
}

protected _initRouter(): void {
// l10n.config.defaultLocale = {
// code: 'fa-IR',
// direction: 'rtl',
// language: 'fa',
// };
l10n.config.defaultLocale = {
code: 'fa-IR',
direction: 'rtl',
language: 'fa',
code: 'en-US',
direction: 'ltr',
language: 'en',
};
l10n.setLocal();

Expand Down

0 comments on commit 0c4ce83

Please sign in to comment.