Skip to content

Commit e4feadc

Browse files
authored
Merge pull request #14 from k8n/patch-1
A couple of typo fixes around forms
2 parents c8c5040 + 90edb6c commit e4feadc

File tree

1 file changed

+5
-5
lines changed

1 file changed

+5
-5
lines changed

src/Converter.php

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -566,8 +566,8 @@ protected function convertForms()
566566
{
567567
$this->searchAndReplace('form-group', 'mb-4');
568568
$this->searchAndReplace('form-control', 'block appearance-none w-full py-1 px-2 mb-1 text-base leading-normal bg-white text-grey-darker border border-grey rounded');
569-
$this->searchAndReplace('form-control-lg', 'py-2 px-4 text-lg leading-normal rouned');
570-
$this->searchAndReplace('form-control-sm', 'py-1 px-2 text-sm leading-normal rouned');
569+
$this->searchAndReplace('form-control-lg', 'py-2 px-4 text-lg leading-normal rounded');
570+
$this->searchAndReplace('form-control-sm', 'py-1 px-2 text-sm leading-normal rounded');
571571
$this->searchAndReplace('form-control-file', 'block appearance-none');
572572
$this->searchAndReplace('form-control-range', 'block appearance-none');
573573

@@ -578,7 +578,7 @@ protected function convertForms()
578578
$this->searchAndReplace('col-form-label-sm', 'pt-1 pb-1 mb-0 leading-normal');
579579

580580
$this->searchAndReplace('col-form-legend', 'pt-2 pb-2 mb-0 text-base');
581-
$this->searchAndReplace('col-form-plaintext', 'pt-2 pb-2 mb-0 leading-normal bg-transparent border-transparent border-r-0 border-l-0 border-t-1 border-b-1');
581+
$this->searchAndReplace('col-form-plaintext', 'pt-2 pb-2 mb-0 leading-normal bg-transparent border-transparent border-r-0 border-l-0 border-t border-b');
582582

583583
$this->searchAndReplace('form-text', 'block mt-1');
584584
$this->searchAndReplace('form-row', 'flex flex-wrap -mr-1 -ml-1');
@@ -588,10 +588,10 @@ protected function convertForms()
588588

589589
$this->searchAndReplace('form-check-inline', 'inline-block mr-2');
590590
$this->searchAndReplace('valid-feedback', 'hidden mt-1 text-sm text-green');
591-
$this->searchAndReplace('valid-tooltip', 'absolute z-10 hidden w-4 font-normal leading-noraml text-white rounded p-2 bg-green-dark');
591+
$this->searchAndReplace('valid-tooltip', 'absolute z-10 hidden w-4 font-normal leading-normal text-white rounded p-2 bg-green-dark');
592592
$this->searchAndReplace('is-valid', 'bg-green-dark');
593593
$this->searchAndReplace('invalid-feedback', 'hidden mt-1 text-sm text-red');
594-
$this->searchAndReplace('invalid-tooltip', 'absolute z-10 hidden w-4 font-normal leading-noraml text-white rounded p-2 bg-red-dark');
594+
$this->searchAndReplace('invalid-tooltip', 'absolute z-10 hidden w-4 font-normal leading-normal text-white rounded p-2 bg-red-dark');
595595
$this->searchAndReplace('is-invalid', 'bg-red-dark');
596596
}
597597

0 commit comments

Comments
 (0)