From 5fca2098a472adce797ff180c3b98712f34f3d3c Mon Sep 17 00:00:00 2001 From: Burak Civan Date: Wed, 3 Aug 2022 10:38:33 +0300 Subject: [PATCH] section classname modified --- app/View/Components/Form/Section.php | 38 +++++++++++++++++++ public/css/app.css | 8 ++-- .../components/form/section/index.blade.php | 13 +++++-- .../views/modules/api_key/create.blade.php | 20 +++++----- 4 files changed, 63 insertions(+), 16 deletions(-) create mode 100644 app/View/Components/Form/Section.php diff --git a/app/View/Components/Form/Section.php b/app/View/Components/Form/Section.php new file mode 100644 index 000000000..a496f37e3 --- /dev/null +++ b/app/View/Components/Form/Section.php @@ -0,0 +1,38 @@ +spacingVertical = $spacingVertical; + $this->spacingHorizontal = $spacingHorizontal; + $columnNumber = $columnNumber; + } + + /** + * Get the view / contents that represent the component. + * + * @return \Illuminate\Contracts\View\View|string + */ + public function render() + { + return view('components.form.section.index'); + } +} diff --git a/public/css/app.css b/public/css/app.css index 1c8b2db0e..6d0fe34f9 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -48389,6 +48389,10 @@ body{ width: 25%; } + .lg\:w-2\/12{ + width: 16.666667%; + } + .lg\:w-80{ width: 20rem; } @@ -48409,10 +48413,6 @@ body{ width: 60%; } - .lg\:w-2\/12{ - width: 16.666667%; - } - .lg\:w-7\/12{ width: 58.333333%; } diff --git a/resources/views/components/form/section/index.blade.php b/resources/views/components/form/section/index.blade.php index 439d3e57c..a258d3365 100644 --- a/resources/views/components/form/section/index.blade.php +++ b/resources/views/components/form/section/index.blade.php @@ -4,9 +4,16 @@ @endif @if (! empty($body) && $body->isNotEmpty()) -
- {!! $body !!} -
+
+ {!! $body !!} +
@endif @if (! empty($foot) && $foot->isNotEmpty()) diff --git a/resources/views/modules/api_key/create.blade.php b/resources/views/modules/api_key/create.blade.php index 24c90a588..f2fa1aea3 100644 --- a/resources/views/modules/api_key/create.blade.php +++ b/resources/views/modules/api_key/create.blade.php @@ -5,19 +5,21 @@ -
-
+ + -
- {!! trans('modules.get_api_key', ['url' => 'https://akaunting.com/dashboard']) !!} +
+
+ {!! trans('modules.get_api_key', ['url' => 'https://akaunting.com/dashboard']) !!} +
-
-
- -
-
+
+ +
+ +