Merge branch 'dev' into fix/772/set-to-top-elem-on-scrollable-height

This commit is contained in:
Wen Junhua
2024-05-07 23:45:23 +08:00
committed by GitHub
43 changed files with 82 additions and 34 deletions
+1 -1
View File
@@ -46,7 +46,7 @@
</span>
</span>
<span
class="ms-2 text-neutral-700 transition-transform group-hover:-translate-x-[2px] group-hover:text-primary-600 dark:text-neutral dark:group-hover:text-primary-400"
class="ms-2 text-neutral-700 transition-transform group-hover:-translate-x-[-2px] group-hover:text-primary-600 dark:text-neutral dark:group-hover:text-primary-400"
><span class="ltr:inline rtl:hidden">&rarr;</span
><span class="ltr:hidden rtl:inline">&larr;</span></span
>
+2 -2
View File
@@ -24,7 +24,7 @@
{{ end }}
{{ end }}
{{ if (eq "" $width $height) }}
{{ warnf "Can't detect width and height for SVG %s" .RelPermalink }}
{{ warnf "[CONGO] Can't detect width and height for SVG %s" .RelPermalink }}
{{/* do not use lazy without dimensions */}}
{{ $lazy = false }}
{{ end }}
@@ -53,7 +53,7 @@
{{ $width = div .Width 2 }}
{{ $height = div .Height 2 }}
{{ end }}
{{ if $webp }}
{{ if and $webp (ne .MediaType.SubType "gif") }}
<source
{{ if lt .Width 660 }}
{{ with .Resize (printf "%dx%d webp" .Width .Height) }}