From 1e45ac602ac5f297eb9bf7ef7b11ad6a118533ba Mon Sep 17 00:00:00 2001 From: MohamedSabil83 Date: Sat, 19 Feb 2022 11:09:48 +0300 Subject: [PATCH] [RTL] Fix padding of datetime picker --- .../forms/resources/views/components/date-time-picker.blade.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packages/forms/resources/views/components/date-time-picker.blade.php b/packages/forms/resources/views/components/date-time-picker.blade.php index ddea08d64dd..08dd982189f 100644 --- a/packages/forms/resources/views/components/date-time-picker.blade.php +++ b/packages/forms/resources/views/components/date-time-picker.blade.php @@ -51,7 +51,7 @@ @endunless type="button" {{ $getExtraTriggerAttributeBag()->class([ - 'bg-white relative w-full border py-2 pl-3 pr-10 text-left cursor-default rounded-lg shadow-sm focus-within:border-primary-600 focus-within:ring-1 focus-within:ring-inset focus-within:ring-primary-600', + 'bg-white relative w-full border py-2 pl-3 pr-10 rtl:pl-10 rtl:pr-3 text-left cursor-default rounded-lg shadow-sm focus-within:border-primary-600 focus-within:ring-1 focus-within:ring-inset focus-within:ring-primary-600', 'dark:bg-gray-700' => config('forms.dark_mode'), 'border-gray-300' => ! $errors->has($getStatePath()), 'dark:border-gray-600' => (! $errors->has($getStatePath())) && config('forms.dark_mode'),