mirror of
https://github.com/aljazceru/rabbit.git
synced 2025-12-17 05:54:19 +01:00
refactor: move directory
This commit is contained in:
@@ -23,7 +23,7 @@ const ImageDisplay: Component<ImageDisplayProps> = (props) => {
|
||||
const url = () => new URL(props.url);
|
||||
|
||||
return (
|
||||
<a href={props.url} target="_blank" rel="noopener noreferrer">
|
||||
<a class="my-2 inline-block" href={props.url} target="_blank" rel="noopener noreferrer">
|
||||
<img
|
||||
class="inline-block max-h-64 max-w-full rounded object-contain shadow"
|
||||
src={fixUrl(url())}
|
||||
|
||||
Reference in New Issue
Block a user