Skip to content

Commit c028602

Browse files
committed
Fixed offline indicators to display block
1 parent a77e68e commit c028602

File tree

4 files changed

+7
-3
lines changed

4 files changed

+7
-3
lines changed

CHANGELOG.md

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,10 @@ All notable changes to `laravel-livewire-tables` will be documented in this file
44

55
## [Unreleased]
66

7+
### Changed
8+
9+
- Fixed offline indicators to display block
10+
711
## [1.2.2] - 2021-04-23
812

913
### Changed

resources/views/bootstrap-4/includes/offline.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@if ($offlineIndicator)
2-
<div wire:offline>
2+
<div wire:offline.class.remove="d-none" class="d-none">
33
<div class="alert alert-danger d-flex align-items-center">
44
<svg xmlns="http://www.w3.org/2000/svg" style="width:1.3em;height:1.3em;" fill="none" viewBox="0 0 24 24" stroke="currentColor">
55
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />

resources/views/bootstrap-5/includes/offline.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@if ($offlineIndicator)
2-
<div wire:offline>
2+
<div wire:offline.class.remove="d-none" class="d-none">
33
<div class="alert alert-danger d-flex align-items-center">
44
<svg xmlns="http://www.w3.org/2000/svg" style="width:1.3em;height:1.3em;" fill="none" viewBox="0 0 24 24" stroke="currentColor">
55
<path stroke-linecap="round" stroke-linejoin="round" stroke-width="2" d="M12 8v4m0 4h.01M21 12a9 9 0 11-18 0 9 9 0 0118 0z" />

resources/views/tailwind/includes/offline.blade.php

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
@if ($offlineIndicator)
2-
<div wire:offline>
2+
<div wire:offline.class.remove="hidden" class="hidden">
33
<div class="rounded-md bg-red-50 p-4 mb-4">
44
<div class="flex">
55
<div class="flex-shrink-0">

0 commit comments

Comments
 (0)