Skip to content

Commit

Permalink
fix: wrap long log file path
Browse files Browse the repository at this point in the history
  • Loading branch information
Sébastien HEYD committed Oct 2, 2024
1 parent 7d0c516 commit 00b6539
Show file tree
Hide file tree
Showing 5 changed files with 10 additions and 6 deletions.
2 changes: 1 addition & 1 deletion src/public/adminlte.min.css

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion src/public/mix-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
"/plugins/tinymce/plugins/gpt/plugin.min.js": "/plugins/tinymce/plugins/gpt/plugin.min.js?id=d8b7f1f060ebd50232110f26a153f324",
"/pusher.min.js": "/pusher.min.js?id=135a4ef9f81d208567768141e53e930f",
"/plugins/select2/select2.min.css": "/plugins/select2/select2.min.css?id=736e03991ce64bf5795b28f54b816e62",
"/adminlte.min.css": "/adminlte.min.css?id=55ae1e7bf24b58f3f8522c09d316a5c2",
"/adminlte.min.css": "/adminlte.min.css?id=21b6d0d4422cb75520089ff57fba353c",
"/plugins/datatables/datatables.min.css": "/plugins/datatables/datatables.min.css?id=6d60435fc4dda237e9508edea864c5dc",
"/plugins/fontawesome/fontawesome.min.css": "/plugins/fontawesome/fontawesome.min.css?id=e4b3ef484feb882f2c1858fca49faf8a",
"/plugins/fullcalendar/main.min.css": "/plugins/fullcalendar/main.min.css?id=fd3e67cd6988c243f266dd049f2560c8",
Expand Down
4 changes: 4 additions & 0 deletions src/resources/assets/scss/adminlte.scss
Original file line number Diff line number Diff line change
Expand Up @@ -70,6 +70,10 @@ $red: #dc3545;
}
}

.text-word-wrap {
overflow-wrap: anywhere;
}

.user-panel {
padding: 1rem .5rem;
margin: 0 -.5rem;
Expand Down
6 changes: 3 additions & 3 deletions src/resources/views/layout/contentheader.blade.php
Original file line number Diff line number Diff line change
Expand Up @@ -17,11 +17,11 @@
</li>
@foreach($breadcrumb as $label => $route)
@if(is_numeric($label))
<li class="breadcrumb-item active">{{ $route }}</li>
<li class="breadcrumb-item text-word-wrap active">{{ $route }}</li>
@elseif(is_array($route))
<li class="breadcrumb-item"><a href="{{ route($route[0], $route[1]) }}">{{ $label }}</a></li>
<li class="breadcrumb-item text-word-wrap"><a href="{{ route($route[0], $route[1]) }}">{{ $label }}</a></li>
@else
<li class="breadcrumb-item"><a href="{{ route($route) }}">{{ $label }}</a></li>
<li class="breadcrumb-item text-word-wrap"><a href="{{ route($route) }}">{{ $label }}</a></li>
@endif
@endforeach
</ol>
Expand Down
2 changes: 1 addition & 1 deletion src/resources/views/logs/_partials/informations.blade.php
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
<table class="table table-striped no-border table-sm">
<tr>
<th class="text-nowrap">{{ __('boilerplate::logs.show.filepath') }}</th>
<td>{{ $log->getPath() }}</td>
<td class="text-word-wrap">{{ $log->getPath() }}</td>
</tr>
<tr>
<th class="text-nowrap">{{ __('boilerplate::logs.show.logentries') }}</th>
Expand Down

0 comments on commit 00b6539

Please sign in to comment.