Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

reduces horizontal spacing in Tailwind responsive view #464

Merged
merged 4 commits into from
Sep 26, 2021
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion resources/views/tailwind/datatable.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@
@include('livewire-tables::tailwind.includes.filter-pills')

<div class="space-y-4">
<div class="md:flex md:justify-between p-6 md:p-0">
<div class="md:flex md:justify-between px-6 py-2 md:p-0">
<div class="w-full mb-4 md:mb-0 md:w-2/4 md:flex space-y-4 md:space-y-0 md:space-x-2">
@include('livewire-tables::tailwind.includes.reorder')
@include('livewire-tables::tailwind.includes.search')
Expand Down
2 changes: 1 addition & 1 deletion resources/views/tailwind/includes/filter-pills.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div>
@if ($showFilters && count($this->getFiltersWithoutSearch()))
<div class="mb-4 p-6 md:p-0">
<div class="md:mb-4 px-6 py-2 md:p-0">
<small class="text-gray-700 dark:text-white">@lang('Applied Filters'):</small>

@foreach($filters as $key => $value)
Expand Down
2 changes: 1 addition & 1 deletion resources/views/tailwind/includes/pagination.blade.php
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
@if ($showPagination)
<div class="p-6 md:p-0">
<div class="px-6 py-2 md:p-0">
@if ($paginationEnabled && $rows->lastPage() > 1)
{{ $rows->links('livewire-tables::tailwind.includes.partials.pagination') }}
@else
Expand Down
2 changes: 1 addition & 1 deletion resources/views/tailwind/includes/sorting-pills.blade.php
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
<div>
@if ($showSorting && count($sorts))
<div class="mb-4 p-6 md:p-0">
<div class="md:mb-4 px-6 py-2 md:p-0">
<small class="text-gray-700 dark:text-white">@lang('Applied Sorting'):</small>

@foreach($sorts as $col => $dir)
Expand Down