Skip to content

Commit 574c2c0

Browse files
author
vishalvivekm
committed
rm redundant styles
Signed-off-by: vishalvivekm <110674407+vishalvivekm@users.noreply.github.com>
1 parent 9696b0c commit 574c2c0

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

layouts/shortcodes/image.html

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,6 +5,6 @@
55
{{ $title := .Get "title" | default "" }}
66

77
<div class="image-container" style="text-align: {{ $align }}; margin: 1rem 0;">
8-
<img src="{{ $src | safeURL }}" alt="{{ $alt }}" {{ with $title }}title="{{ . }}"{{ end }} style="width: {{ $width }}; max-width: 100%; height: auto; border-radius: 0.5rem; box-shadow: 0 0 0.5rem rgba(0, 179, 159, 0.4);" data-modal="true" onclick="openModal(this)" />
8+
<img src="{{ $src | safeURL }}" alt="{{ $alt }}" {{ with $title }}title="{{ . }}"{{ end }} style="width: {{ $width }};" data-modal="true" onclick="openModal(this)" />
99
{{ with $title }}<p style="text-align: center; margin-top: 0.5rem;">{{ . }}</p>{{ end }}
1010
</div>

0 commit comments

Comments
 (0)