fix(sidebar): update transform syntax for improved compatibility

This commit is contained in:
Xin
2026-01-19 23:03:28 +00:00
parent 8e1e446cb8
commit 6a13f17326
2 changed files with 2 additions and 2 deletions

File diff suppressed because one or more lines are too long

View File

@@ -20,7 +20,7 @@
{{- end -}}
{{- end -}}
<aside class="hextra-sidebar-container hx:flex hx:flex-col hx:print:hidden hx:md:top-16 hx:md:shrink-0 hx:md:w-64 hx:md:self-start hx:max-md:transform-[translate3d(0,-100%,0)] {{ $sidebarClass }}">
<aside class="hextra-sidebar-container hx:flex hx:flex-col hx:print:hidden hx:md:top-16 hx:md:shrink-0 hx:md:w-64 hx:md:self-start hx:max-md:[transform:translate3d(0,-100%,0)] {{ $sidebarClass }}">
{{- if (site.Params.search.enable | default true) -}}
<!-- Search bar on small screen -->
<div class="hx:px-4 hx:pt-4 hx:md:hidden">