diff --git a/src/main/frontend/util.cljc b/src/main/frontend/util.cljc index 0ae9b6aa7..c373f729c 100644 --- a/src/main/frontend/util.cljc +++ b/src/main/frontend/util.cljc @@ -193,7 +193,7 @@ (defn ext-of-image? [s] (some #(string/ends-with? s %) - [".png" ".jpg" ".jpeg" ".bmp" ".gif" ".webp"])) + [".png" ".jpg" ".jpeg" ".bmp" ".gif" ".webp" ".svg"])) ;; ".lg:absolute.lg:inset-y-0.lg:right-0.lg:w-1/2" (defn hiccup->class @@ -1471,4 +1471,4 @@ target-bottom (.-bottom (.getBoundingClientRect el))] (when (> (+ target-bottom (or (safe-parse-int offset) 0)) wrap-height) - (.scrollIntoView el #js {:block "center" :behavior "smooth"}))))) \ No newline at end of file + (.scrollIntoView el #js {:block "center" :behavior "smooth"})))))