fix: isolate chat button from fixed-btn stack to ensure right position
- Move chat-widget outside the floating buttons section in index.html - Remove fixed-btn class from toggle button (was inheriting left-side positioning from the button stack's mobile flex layout) - Chat widget now renders independently just before body-scripts
This commit is contained in:
@@ -50,7 +50,6 @@
|
|||||||
{{template "contact-button" .}}
|
{{template "contact-button" .}}
|
||||||
{{template "zoom-toggle-button" .}}
|
{{template "zoom-toggle-button" .}}
|
||||||
{{template "shortcuts-button" .}}
|
{{template "shortcuts-button" .}}
|
||||||
{{template "chat-widget" .}}
|
|
||||||
|
|
||||||
<!-- ============================================ -->
|
<!-- ============================================ -->
|
||||||
<!-- MODALS -->
|
<!-- MODALS -->
|
||||||
@@ -62,6 +61,11 @@
|
|||||||
{{template "contact-modal" .}}
|
{{template "contact-modal" .}}
|
||||||
{{template "zoom-control" .}}
|
{{template "zoom-control" .}}
|
||||||
|
|
||||||
|
<!-- ============================================ -->
|
||||||
|
<!-- CV ASSISTANT (independent of button stack) -->
|
||||||
|
<!-- ============================================ -->
|
||||||
|
{{template "chat-widget" .}}
|
||||||
|
|
||||||
<!-- ============================================ -->
|
<!-- ============================================ -->
|
||||||
<!-- SCRIPTS & ANALYTICS -->
|
<!-- SCRIPTS & ANALYTICS -->
|
||||||
<!-- ============================================ -->
|
<!-- ============================================ -->
|
||||||
|
|||||||
@@ -3,7 +3,7 @@
|
|||||||
<!-- AI Chat Widget — CV Assistant Mascot -->
|
<!-- AI Chat Widget — CV Assistant Mascot -->
|
||||||
<button
|
<button
|
||||||
id="chat-toggle-btn"
|
id="chat-toggle-btn"
|
||||||
class="fixed-btn chat-toggle-btn no-print has-tooltip tooltip-left"
|
class="chat-toggle-btn no-print"
|
||||||
aria-label="{{if eq .Lang "es"}}Asistente del CV{{else}}CV Assistant{{end}}"
|
aria-label="{{if eq .Lang "es"}}Asistente del CV{{else}}CV Assistant{{end}}"
|
||||||
data-tooltip="{{if eq .Lang "es"}}Asistente del CV{{else}}CV Assistant{{end}}"
|
data-tooltip="{{if eq .Lang "es"}}Asistente del CV{{else}}CV Assistant{{end}}"
|
||||||
_="on click toggle .chat-open on #chat-panel
|
_="on click toggle .chat-open on #chat-panel
|
||||||
|
|||||||
Reference in New Issue
Block a user