@@ -14,8 +14,8 @@ document.addEventListener("DOMContentLoaded", () => {
1414
1515/* Open feedback modal */
1616window . openFeedback = function ( ) {
17- const overlay = document . getElementById ( "modal-overlay " ) ;
18- const modal = document . getElementById ( "modal-content " ) ;
17+ const overlay = document . getElementById ( "feedbackOverlay " ) ;
18+ const modal = document . getElementById ( "feedbackModal " ) ;
1919
2020 if ( ! overlay || ! modal ) return ;
2121
@@ -28,15 +28,32 @@ window.openFeedback = function () {
2828
2929 <!-- Header -->
3030 <div class="sw-header">
31- <svg class="sw-icon" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2">
32- <path d="M21 15a4 4 0 0 1-4 4H7l-4 4V7a4 4 0 0 1 4-4h10a4 4 0 0 1 4 4z"></path>
33- </svg>
31+ <svg
32+ class="sw-icon"
33+ viewBox="0 0 24 24"
34+ fill="none"
35+ stroke="currentColor"
36+ stroke-width="2"
37+ stroke-linecap="round"
38+ stroke-linejoin="round"
39+ aria-hidden="true"
40+ >
41+ <!-- Taller speech bubble -->
42+ <path d="M4 4h16a2 2 0 0 1 2 2v10a2 2 0 0 1-2 2H9l-5 5v-5H4a2 2 0 0 1-2-2V6a2 2 0 0 1 2-2z" />
43+
44+ <!-- Dots (spread out more) -->
45+ <circle cx="8" cy="11.5" r="1" fill="currentColor" stroke-width="0.8" />
46+ <circle cx="12" cy="11.5" r="1" fill="currentColor" stroke-width="0.8"/>
47+ <circle cx="16" cy="11.5" r="1" fill="currentColor" stroke-width="0.8" />
48+ </svg>
49+
50+
3451 <h2 class="sw-title">Send Feedback</h2>
3552 <button class="sw-close" data-feedback-close aria-label="Close feedback">
36- <svg viewBox="0 0 24 24" width="22" height="22" fill="none" stroke="currentColor" stroke-width="3">
37- <line x1="18" y1="6" x2="6" y2="18"></line>
38- <line x1="6" y1="6" x2="18" y2="18"></line>
39- </svg>
53+ <svg viewBox="0 0 24 24" width="22" height="22" fill="none" stroke="currentColor" stroke-width="3">
54+ <line x1="18" y1="6" x2="6" y2="18"></line>
55+ <line x1="6" y1="6" x2="18" y2="18"></line>
56+ </svg>
4057 </button>
4158 </div>
4259
@@ -54,7 +71,7 @@ window.openFeedback = function () {
5471 </div>
5572
5673 <div class="field">
57- <label>Which part of the Launchpad are you commenting on? *</label>
74+ <label>Which part of the Tutorial Hub are you commenting on? *</label>
5875 <input name="section" required class="sw-input" />
5976 </div>
6077
@@ -86,8 +103,8 @@ window.openFeedback = function () {
86103
87104/* Submit + close logic */
88105function attachFeedbackHandlers ( ) {
89- const overlay = document . getElementById ( "modal-overlay " ) ;
90- const modal = document . getElementById ( "modal-content " ) ;
106+ const overlay = document . getElementById ( "feedbackOverlay " ) ;
107+ const modal = document . getElementById ( "feedbackModal " ) ;
91108 const form = modal . querySelector ( "#feedbackForm" ) ;
92109
93110 if ( ! form ) return ;
0 commit comments