fix: Update README credits and adjust image gallery column thumbnail dimensions to nullable
This commit is contained in:
@@ -155,7 +155,8 @@ Please see [CHANGELOG](CHANGELOG.md) for more information.
|
||||
|
||||
## Credits
|
||||
|
||||
- [Al-Saloul](https://github.com/al-saloul)
|
||||
- [Mohammed Alsaloul](https://github.com/al-saloul)
|
||||
- [Husam Almiyah](https://github.com/Husam-Almiyah)
|
||||
- [Viewer.js](https://fengyuanchen.github.io/viewerjs/)
|
||||
|
||||
## License
|
||||
|
||||
@@ -64,7 +64,7 @@
|
||||
<img
|
||||
src="{{ $src }}"
|
||||
loading="lazy"
|
||||
class="object-cover {{ $borderColorClass }} shadow-sm {{ $borderRadiusClass }} hover:scale-110 transition cursor-pointer"
|
||||
class="object-cover {{ $borderColorClass }} {{ $borderRadiusClass }} hover:scale-110 transition cursor-pointer"
|
||||
style="{{ $sizeStyle }} {{ $ringStyle }}"
|
||||
alt="image"
|
||||
/>
|
||||
|
||||
@@ -10,9 +10,9 @@ class ImageGalleryColumn extends Column
|
||||
{
|
||||
protected string $view = 'image-gallery::columns.image-gallery';
|
||||
|
||||
protected int | Closure | null $thumbWidth = 40;
|
||||
protected int | Closure | null $thumbWidth = null;
|
||||
|
||||
protected int | Closure | null $thumbHeight = 40;
|
||||
protected int | Closure | null $thumbHeight = null;
|
||||
|
||||
protected int | Closure | null $limit = 3;
|
||||
|
||||
@@ -174,7 +174,7 @@ class ImageGalleryColumn extends Column
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getEmptyText(): string
|
||||
public function getEmptyText(): Closure|string
|
||||
{
|
||||
return $this->evaluate($this->emptyText);
|
||||
}
|
||||
@@ -198,7 +198,7 @@ class ImageGalleryColumn extends Column
|
||||
return $this;
|
||||
}
|
||||
|
||||
public function getVisibility(): string
|
||||
public function getVisibility(): Closure|string
|
||||
{
|
||||
return $this->evaluate($this->visibility);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user