object-cover

This commit is contained in:
Benjamin Takats
2023-01-18 23:54:46 +01:00
parent 4b21dec442
commit ecf3aa3e94
2 changed files with 1 additions and 6 deletions

View File

@@ -25,9 +25,4 @@ class LaravelEcho extends Component
'timeout' => 60000,
]);
}
public function render()
{
return view('livewire.laravel-echo');
}
}

View File

@@ -41,7 +41,7 @@
</template>
<template x-if="notification.img">
<img class="h-10 w-10 object-cover rounded-full" :src="notification.img" />
<img class="h-10 w-10 object-contain rounded" :src="notification.img" />
</template>
</div>
</template>