Skip to content

Commit

Permalink
update z-40 to z-50
Browse files Browse the repository at this point in the history
  • Loading branch information
zoltanszogyenyi committed Dec 15, 2023
1 parent 523acdb commit 1c45ad5
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 7 deletions.
4 changes: 2 additions & 2 deletions dist/js/datepicker-full.js
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@
</div>
<div class="datepicker-main p-1"></div>
<div class="datepicker-footer">
<div class="datepicker-controls flex space-x-2 mt-2">
<div class="datepicker-controls flex space-x-2 rtl:space-x-reverse mt-2">
<button type="button" class="%buttonClass% today-btn text-white bg-blue-700 !bg-primary-700 dark:bg-blue-600 dark:!bg-primary-600 hover:bg-blue-800 hover:!bg-primary-800 dark:hover:bg-blue-700 dark:hover:!bg-primary-700 focus:ring-4 focus:ring-blue-300 focus:!ring-primary-300 font-medium rounded-lg text-sm px-5 py-2 text-center w-1/2"></button>
<button type="button" class="%buttonClass% clear-btn text-gray-900 dark:text-white bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 focus:ring-4 focus:ring-blue-300 focus:!ring-primary-300 font-medium rounded-lg text-sm px-5 py-2 text-center w-1/2"></button>
</div>
Expand Down Expand Up @@ -1667,7 +1667,7 @@

const elementClass = datepicker.inline ? 'inline' : 'dropdown';
element.classList.add(`datepicker-${elementClass}`);
elementClass === 'dropdown' ? element.classList.add('dropdown', 'absolute', 'top-0', 'left-0', 'z-20', 'pt-2') : null;
elementClass === 'dropdown' ? element.classList.add('dropdown', 'absolute', 'top-0', 'left-0', 'z-50', 'pt-2') : null;

processPickerOptions(this, datepicker.config);
this.viewDate = computeResetViewDate(datepicker);
Expand Down
2 changes: 1 addition & 1 deletion dist/js/datepicker-full.min.js

Large diffs are not rendered by default.

4 changes: 2 additions & 2 deletions dist/js/datepicker.js
Original file line number Diff line number Diff line change
Expand Up @@ -769,7 +769,7 @@ var Datepicker = (function () {
</div>
<div class="datepicker-main p-1"></div>
<div class="datepicker-footer">
<div class="datepicker-controls flex space-x-2 mt-2">
<div class="datepicker-controls flex space-x-2 rtl:space-x-reverse mt-2">
<button type="button" class="%buttonClass% today-btn text-white bg-blue-700 !bg-primary-700 dark:bg-blue-600 dark:!bg-primary-600 hover:bg-blue-800 hover:!bg-primary-800 dark:hover:bg-blue-700 dark:hover:!bg-primary-700 focus:ring-4 focus:ring-blue-300 focus:!ring-primary-300 font-medium rounded-lg text-sm px-5 py-2 text-center w-1/2"></button>
<button type="button" class="%buttonClass% clear-btn text-gray-900 dark:text-white bg-white dark:bg-gray-700 border border-gray-300 dark:border-gray-600 hover:bg-gray-100 dark:hover:bg-gray-600 focus:ring-4 focus:ring-blue-300 focus:!ring-primary-300 font-medium rounded-lg text-sm px-5 py-2 text-center w-1/2"></button>
</div>
Expand Down Expand Up @@ -1667,7 +1667,7 @@ var Datepicker = (function () {

const elementClass = datepicker.inline ? 'inline' : 'dropdown';
element.classList.add(`datepicker-${elementClass}`);
elementClass === 'dropdown' ? element.classList.add('dropdown', 'absolute', 'top-0', 'left-0', 'z-20', 'pt-2') : null;
elementClass === 'dropdown' ? element.classList.add('dropdown', 'absolute', 'top-0', 'left-0', 'z-50', 'pt-2') : null;

processPickerOptions(this, datepicker.config);
this.viewDate = computeResetViewDate(datepicker);
Expand Down
2 changes: 1 addition & 1 deletion dist/js/datepicker.min.js

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion js/picker/Picker.js
Original file line number Diff line number Diff line change
Expand Up @@ -130,7 +130,7 @@ export default class Picker {

const elementClass = datepicker.inline ? 'inline' : 'dropdown';
element.classList.add(`datepicker-${elementClass}`);
elementClass === 'dropdown' ? element.classList.add('dropdown', 'absolute', 'top-0', 'left-0', 'z-40', 'pt-2') : null;
elementClass === 'dropdown' ? element.classList.add('dropdown', 'absolute', 'top-0', 'left-0', 'z-50', 'pt-2') : null;

processPickerOptions(this, datepicker.config);
this.viewDate = computeResetViewDate(datepicker);
Expand Down

0 comments on commit 1c45ad5

Please sign in to comment.