Skip to content

Commit

Permalink
- using of the values of the variables $selectClass and $selectStyle …
Browse files Browse the repository at this point in the history
…of the component Footer in the blade file (#1493)
  • Loading branch information
marineusde authored Apr 3, 2024
1 parent fcf575c commit 6d6e2a6
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,15 +4,16 @@
count(data_get($setUp, 'footer.perPageValues')) > 1 &&
blank(data_get($setUp, 'footer.pagination')))
<footer
class="mt-50 pb-1 w-100 align-items-end px-1 d-flex flex-wrap justify-content-sm-center justify-content-md-between"
class="mt-50 pb-1 w-100 align-items-end px-1 d-flex flex-wrap justify-content-sm-center justify-content-md-between"
>
<div class="col-auto overflow-auto my-sm-2 my-md-0 ms-sm-0">
@if (filled(data_get($setUp, 'footer.perPage')) && count(data_get($setUp, 'footer.perPageValues')) > 1)
<div class="d-flex flex-lg-row align-items-center">
<label class="w-auto">
<select
wire:model.live="setUp.footer.perPage"
class="form-select"
wire:model.live="setUp.footer.perPage"
class="form-select {{ data_get($theme, 'footer.selectClass') }}"
style="{{ data_get($theme, 'footer.selectStyle') }}"
>
@foreach (data_get($setUp, 'footer.perPageValues') as $value)
<option value="{{ $value }}">
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,8 @@
<div class="relative h-10">
<select
wire:model.live="setUp.footer.perPage"
class="pg-select block appearance-none bg-pg-primary-50 border border-pg-primary-300 text-pg-primary-700 py-2 px-3 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-pg-primary-500 dark:bg-pg-primary-700 dark:text-pg-primary-200 dark:placeholder-pg-primary-200 dark:border-pg-primary-600"
class="pg-select block appearance-none bg-pg-primary-50 border border-pg-primary-300 text-pg-primary-700 py-2 px-3 pr-8 rounded leading-tight focus:outline-none focus:bg-white focus:border-pg-primary-500 dark:bg-pg-primary-700 dark:text-pg-primary-200 dark:placeholder-pg-primary-200 dark:border-pg-primary-600 {{ data_get($theme, 'footer.selectClass') }}"
style="{{ data_get($theme, 'footer.selectStyle') }}"
>
@foreach (data_get($setUp, 'footer.perPageValues') as $value)
<option value="{{ $value }}">
Expand Down

0 comments on commit 6d6e2a6

Please sign in to comment.