File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 154154 transform : rotate (180deg );
155155 }
156156}
157+
158+ .expanded-content {
159+ padding : 0.75rem 1rem ;
160+
161+ .expanded-topic {
162+ margin-bottom : 0.75rem ;
163+
164+ strong {
165+ display : block ;
166+ }
167+
168+ p {
169+ margin : 0.25rem 0 0 ;
170+ }
171+ }
172+ }
173+
174+ .expanded-empty {
175+ padding : 0.75rem 1rem ;
176+ margin : 0 ;
177+ }
Original file line number Diff line number Diff line change @@ -5,16 +5,16 @@ let pageNotifier
55
66function buildExpandedContent ( data ) {
77 const answers = ( data . contact_topic_answers || [ ] )
8- . map ( answer => `<li ><strong>${ answer . question } : </strong> ${ answer . value } </li >` )
8+ . map ( answer => `<div class="expanded-topic" ><strong>${ answer . question } </strong><p> ${ answer . value } </p></div >` )
99 . join ( '' )
1010
1111 const notes = data . notes && data . notes . trim ( )
12- ? `<li ><strong>Additional Notes: </strong> ${ data . notes } </li >`
12+ ? `<div class="expanded-topic" ><strong>Additional Notes</strong><p> ${ data . notes } </p></div >`
1313 : ''
1414
15- if ( ! answers && ! notes ) return '<p>No additional details.</p>'
15+ if ( ! answers && ! notes ) return '<p class="expanded-empty" >No additional details.</p>'
1616
17- return `<ul >${ answers } ${ notes } </ul >`
17+ return `<div class="expanded-content" >${ answers } ${ notes } </div >`
1818}
1919
2020const defineCaseContactsTable = function ( ) {
You can’t perform that action at this time.
0 commit comments