diff --git a/templates/audio_reader.templ b/templates/audio_reader.templ index 5a68b1b4..4e0bc95b 100644 --- a/templates/audio_reader.templ +++ b/templates/audio_reader.templ @@ -241,8 +241,7 @@ templ AudioReader(user User, metadata ReaderMetadata) { x-show="railVisible" x-cloak class="absolute top-full mt-1 inset-x-0 h-12 rounded-lg shadow-lg p-1.5 pointer-events-none" - style="background-color: var(--bg-secondary); border: 1px solid var(--border); z-index: 30;" - :style="railLiftY ? 'transform: translateY(' + railLiftY + 'px);' : ''" + :style="'background-color: var(--bg-secondary); border: 1px solid var(--border); z-index: 30;' + (railLiftY ? ' transform: translateY(' + railLiftY + 'px);' : '')" >
diff --git a/templates/audio_reader_templ.go b/templates/audio_reader_templ.go index c3bf4446..fa1b8506 100644 --- a/templates/audio_reader_templ.go +++ b/templates/audio_reader_templ.go @@ -194,7 +194,7 @@ func AudioReader(user User, metadata ReaderMetadata) templ.Component { if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err } - templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "

—

0:00
Chapters

No chapters detected for this audiobook.

Bookmarks

No bookmarks yet — tap the button to save your position.

Bookmark at 0:00

Shortcuts & interactions
Mouse & touch
") + templ_7745c5c3_Err = templruntime.WriteString(templ_7745c5c3_Buffer, 15, "

—

0:00
Chapters

No chapters detected for this audiobook.

Bookmarks

No bookmarks yet — tap the button to save your position.

Bookmark at 0:00

Shortcuts & interactions
Mouse & touch
") if templ_7745c5c3_Err != nil { return templ_7745c5c3_Err }