Skip to content

Commit 3d26a5a

Browse files
authored
fixing RTL issue (#575)
resolves #504
1 parent f048ab9 commit 3d26a5a

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

CHANGELOG.md

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,9 @@ All notable changes to this project will be documented in this file.
33

44
# [13.1.0] (???)
55

6+
# Bug Fixes
7+
- Working with RTL ([575](https://github.com/vlio20/angular-datepicker/pull/575)) closes [#504](https://github.com/vlio20/angular-datepicker/issues/504)
8+
69
# Breaking changes
710
- Replace deprecated `Moment` with Dayjs ([573](https://github.com/vlio20/angular-datepicker/pull/573)) closes [#530](https://github.com/vlio20/angular-datepicker/issues/530)
811
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.

projects/ng2-date-picker/src/lib/calendar-nav/calendar-nav.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="dp-calendar-nav-container">
1+
<div class="dp-calendar-nav-container" dir="ltr">
22
<div class="dp-nav-header">
33
<span [attr.data-hidden]="isLabelClickable"
44
[hidden]="isLabelClickable"

projects/ng2-date-picker/src/lib/date-picker/date-picker.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div [ngClass]="{'dp-open': areCalendarsShown}">
1+
<div [ngClass]="{'dp-open': areCalendarsShown}" dir="ltr">
22
<div [attr.data-hidden]="componentConfig.hideInputContainer"
33
[hidden]="componentConfig.hideInputContainer"
44
class="dp-input-container">

projects/ng2-date-picker/src/lib/day-calendar/day-calendar.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div *ngIf="currentCalendarMode === CalendarMode.Day" class="dp-day-calendar-container">
1+
<div *ngIf="currentCalendarMode === CalendarMode.Day" class="dp-day-calendar-container" dir="ltr">
22
<dp-calendar-nav
33
(onGoToCurrent)="goToCurrent()"
44
(onLabelClick)="toggleCalendarMode(CalendarMode.Month)"

projects/ng2-date-picker/src/lib/month-calendar/month-calendar.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<div class="dp-month-calendar-container">
1+
<div class="dp-month-calendar-container" dir="ltr">
22
<dp-calendar-nav
33
(onGoToCurrent)="goToCurrent()"
44
(onLabelClick)="toggleCalendarMode()"

projects/ng2-date-picker/src/lib/time-select/time-select.component.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
<ul class="dp-time-select-controls">
1+
<ul class="dp-time-select-controls" dir="ltr">
22
<li class="dp-time-select-control dp-time-select-control-hours">
33
<button (click)="increase('hour')"
44
[disabled]="!showIncHour"

0 commit comments

Comments
 (0)