diff --git a/app/Abstracts/Widget.php b/app/Abstracts/Widget.php index a5d8eccc9..80f8bc689 100644 --- a/app/Abstracts/Widget.php +++ b/app/Abstracts/Widget.php @@ -17,7 +17,7 @@ abstract class Widget public $default_name = ''; public $default_settings = [ - 'width' => 'w-full lg:w-2/4 px-12 my-8', + 'width' => 'w-full lg:w-2/4 lg:px-12 my-8', ]; public $description = ''; diff --git a/app/Models/Document/Document.php b/app/Models/Document/Document.php index 5dd405fc2..e0ad24709 100644 --- a/app/Models/Document/Document.php +++ b/app/Models/Document/Document.php @@ -488,6 +488,20 @@ class Document extends Model return $actions; } + if (app('mobile-detect')->isMobile()) { + try { + $actions[] = [ + 'title' => trans('general.show'), + 'icon' => 'visibility', + 'url' => route($prefix . '.show', $this->id), + 'permission' => 'read-' . $group . '-' . $permission_prefix, + 'attributes' => [ + 'id' => 'index-more-actions-show-' . $this->id, + ], + ]; + } catch (\Exception $e) {} + } + try { if (! $this->reconciled) { $actions[] = [ diff --git a/public/css/app.css b/public/css/app.css index 95fd198af..3e9d2d82a 100644 --- a/public/css/app.css +++ b/public/css/app.css @@ -49967,6 +49967,11 @@ body{ margin-bottom: 3rem; } + .lg\:-mx-12{ + margin-left: -3rem; + margin-right: -3rem; + } + .lg\:my-0{ margin-top: 0px; margin-bottom: 0px; @@ -50050,6 +50055,10 @@ body{ width: 2.25rem; } + .lg\:w-96{ + width: 24rem; + } + .lg\:w-1\/2{ width: 50%; } @@ -50130,10 +50139,6 @@ body{ width: 1rem; } - .lg\:w-96{ - width: 24rem; - } - .lg\:w-2\/4{ width: 50%; } @@ -50235,6 +50240,26 @@ body{ border-right-width: 1px; } + .lg\:px-3{ + padding-left: 0.75rem; + padding-right: 0.75rem; + } + + .lg\:px-4{ + padding-left: 1rem; + padding-right: 1rem; + } + + .lg\:px-6{ + padding-left: 1.5rem; + padding-right: 1.5rem; + } + + .lg\:px-12{ + padding-left: 3rem; + padding-right: 3rem; + } + .lg\:px-24{ padding-left: 6rem; padding-right: 6rem; @@ -50245,11 +50270,6 @@ body{ padding-bottom: 0px; } - .lg\:px-12{ - padding-left: 3rem; - padding-right: 3rem; - } - .lg\:pl-24{ padding-left: 6rem; } diff --git a/resources/lang/en-GB/transactions.php b/resources/lang/en-GB/transactions.php index 74035d8be..f85f8b8dc 100644 --- a/resources/lang/en-GB/transactions.php +++ b/resources/lang/en-GB/transactions.php @@ -24,7 +24,7 @@ return [ 'create_recurring' => ':user created this recurring template on :date', 'schedule' => 'Repeat every :interval :frequency since :date', 'children' => ':count transactions were created automatically', - 'transfer_headline' => 'From :from_account to :to_account', + 'transfer_headline' => '
From: :from_account
to: :to_account
', 'transfer_desc' => 'Transfer created on :date.', ], diff --git a/resources/views/common/dashboards/show.blade.php b/resources/views/common/dashboards/show.blade.php index 3ad0db193..5c771b6ed 100644 --- a/resources/views/common/dashboards/show.blade.php +++ b/resources/views/common/dashboards/show.blade.php @@ -179,7 +179,7 @@ @endsection -
+
@foreach($widgets as $widget) @widget($widget) @endforeach diff --git a/resources/views/components/documents/index/information.blade.php b/resources/views/components/documents/index/information.blade.php index 070d93371..41ca00230 100644 --- a/resources/views/components/documents/index/information.blade.php +++ b/resources/views/components/documents/index/information.blade.php @@ -1,4 +1,4 @@ -