Skip to content

fixing RTL issue #575

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

Merged
merged 1 commit into from
Dec 24, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 3 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.

# [13.1.0] (???)

# Bug Fixes
- Working with RTL ([575](https://github.com/vlio20/angular-datepicker/pull/575)) closes [#504](https://github.com/vlio20/angular-datepicker/issues/504)

# Breaking changes
- Replace deprecated `Moment` with Dayjs ([573](https://github.com/vlio20/angular-datepicker/pull/573)) closes [#530](https://github.com/vlio20/angular-datepicker/issues/530)
Locale was removed from the library configuration, changing the locale should be done outside the component. More information can be found in the readme.md file under the Locale section.
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="dp-calendar-nav-container">
<div class="dp-calendar-nav-container" dir="ltr">
<div class="dp-nav-header">
<span [attr.data-hidden]="isLabelClickable"
[hidden]="isLabelClickable"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div [ngClass]="{'dp-open': areCalendarsShown}">
<div [ngClass]="{'dp-open': areCalendarsShown}" dir="ltr">
<div [attr.data-hidden]="componentConfig.hideInputContainer"
[hidden]="componentConfig.hideInputContainer"
class="dp-input-container">
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div *ngIf="currentCalendarMode === CalendarMode.Day" class="dp-day-calendar-container">
<div *ngIf="currentCalendarMode === CalendarMode.Day" class="dp-day-calendar-container" dir="ltr">
<dp-calendar-nav
(onGoToCurrent)="goToCurrent()"
(onLabelClick)="toggleCalendarMode(CalendarMode.Month)"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<div class="dp-month-calendar-container">
<div class="dp-month-calendar-container" dir="ltr">
<dp-calendar-nav
(onGoToCurrent)="goToCurrent()"
(onLabelClick)="toggleCalendarMode()"
Expand Down
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<ul class="dp-time-select-controls">
<ul class="dp-time-select-controls" dir="ltr">
<li class="dp-time-select-control dp-time-select-control-hours">
<button (click)="increase('hour')"
[disabled]="!showIncHour"
Expand Down