@@ -134,52 +134,58 @@ <h2 class="nhsuk-contents-list__title nhsuk-u-font-size-16">Subcategory</h2>
134134 < h3 class ="nhsuk-heading-s nhsuk-u-margin-bottom-1 "> Supplier market share</ h3 >
135135 < p class ="nhsuk-body-s nhsuk-u-secondary-text-color nhsuk-u-margin-bottom-4 "> Advanced dressings only · 52 products</ p >
136136
137- < div class ="app-pie-wrap " style ="display:flex;flex-direction:row;align-items:center;gap:20px; ">
138- < svg class ="app-pie-svg " width ="140 " height ="140 " viewBox ="0 0 140 140 " aria-hidden ="true " style ="flex-shrink:0; ">
139- < path d ="M70 70 L70 10 A60 60 0 0 1 118 103 Z " fill ="#005eb8 "/>
140- < path d ="M70 70 L118 103 A60 60 0 0 1 42 127 Z " fill ="#007f3b "/>
141- < path d ="M70 70 L42 127 A60 60 0 0 1 14 56 Z " fill ="#ffb81c "/>
142- < path d ="M70 70 L14 56 A60 60 0 0 1 70 10 Z " fill ="#aeb7bd "/>
143- < circle cx ="70 " cy ="70 " r ="32 " fill ="#fff "/>
144- < text x ="70 " y ="66 " text-anchor ="middle " font-size ="18 " font-weight ="700 " fill ="#212b32 "> 52</ text >
145- < text x ="70 " y ="80 " text-anchor ="middle " font-size ="10 " fill ="#000000 "> products</ text >
146- </ svg >
137+ <!-- REPLACE the entire app-pie-wrap div in search-results-viz-all.html with this -->
138+
139+ < div class ="app-pie-wrap " style ="display:flex;flex-direction:row;align-items:center;gap:12px; ">
140+
141+ <!-- Chart: exactly 50% of the card width -->
142+ < svg class ="app-pie-svg " viewBox ="0 0 140 140 " aria-hidden ="true " style ="flex:0 0 50%;max-width:50%;height:auto; ">
143+ < path d ="M70 70 L70 10 A60 60 0 0 1 118 103 Z " fill ="#005eb8 "/>
144+ < path d ="M70 70 L118 103 A60 60 0 0 1 42 127 Z " fill ="#007f3b "/>
145+ < path d ="M70 70 L42 127 A60 60 0 0 1 14 56 Z " fill ="#ffb81c "/>
146+ < path d ="M70 70 L14 56 A60 60 0 0 1 70 10 Z " fill ="#aeb7bd "/>
147+ < circle cx ="70 " cy ="70 " r ="32 " fill ="#fff "/>
148+ < text x ="70 " y ="66 " text-anchor ="middle " font-size ="18 " font-weight ="700 " fill ="#212b32 "> 52</ text >
149+ < text x ="70 " y ="80 " text-anchor ="middle " font-size ="10 " fill ="#000000 "> products</ text >
150+ </ svg >
151+
152+ <!-- Legend: remaining 50% -->
153+ < div class ="app-supplier-legend " style ="flex:0 0 50%;min-width:0; ">
154+ < div class ="app-supplier-legend__item ">
155+ < div class ="app-supplier-legend__swatch " style ="background:#005eb8; "> </ div >
156+ < div class ="app-supplier-legend__body ">
157+ < p class ="nhsuk-body-s nhsuk-u-margin-bottom-0 "> < strong > Smith and Nephew</ strong > </ p >
158+ < p class ="nhsuk-body-s nhsuk-u-secondary-text-color nhsuk-u-margin-bottom-1 "> 38% · 20 products</ p >
159+ < div class ="app-supplier-bar-track "> < div class ="app-supplier-bar-fill " style ="width:100%;background:#005eb8; "> </ div > </ div >
160+ </ div >
161+ </ div >
162+ < div class ="app-supplier-legend__item ">
163+ < div class ="app-supplier-legend__swatch " style ="background:#007f3b; "> </ div >
164+ < div class ="app-supplier-legend__body ">
165+ < p class ="nhsuk-body-s nhsuk-u-margin-bottom-0 "> < strong > Mölnlycke Health Care</ strong > </ p >
166+ < p class ="nhsuk-body-s nhsuk-u-secondary-text-color nhsuk-u-margin-bottom-1 "> 29% · 15 products</ p >
167+ < div class ="app-supplier-bar-track "> < div class ="app-supplier-bar-fill " style ="width:76%;background:#007f3b; "> </ div > </ div >
168+ </ div >
169+ </ div >
170+ < div class ="app-supplier-legend__item ">
171+ < div class ="app-supplier-legend__swatch " style ="background:#ffb81c; "> </ div >
172+ < div class ="app-supplier-legend__body ">
173+ < p class ="nhsuk-body-s nhsuk-u-margin-bottom-0 "> < strong > ConvaTec</ strong > </ p >
174+ < p class ="nhsuk-body-s nhsuk-u-secondary-text-color nhsuk-u-margin-bottom-1 "> 21% · 11 products</ p >
175+ < div class ="app-supplier-bar-track "> < div class ="app-supplier-bar-fill " style ="width:55%;background:#ffb81c; "> </ div > </ div >
176+ </ div >
177+ </ div >
178+ < div class ="app-supplier-legend__item ">
179+ < div class ="app-supplier-legend__swatch " style ="background:#aeb7bd; "> </ div >
180+ < div class ="app-supplier-legend__body ">
181+ < p class ="nhsuk-body-s nhsuk-u-margin-bottom-0 "> < strong > Others</ strong > </ p >
182+ < p class ="nhsuk-body-s nhsuk-u-secondary-text-color nhsuk-u-margin-bottom-1 "> 12% · 6 products</ p >
183+ < div class ="app-supplier-bar-track "> < div class ="app-supplier-bar-fill " style ="width:32%;background:#aeb7bd; "> </ div > </ div >
184+ </ div >
185+ </ div >
186+ </ div >
147187
148- < div class ="app-supplier-legend " style ="flex:1;min-width:0; ">
149- < div class ="app-supplier-legend__item ">
150- < div class ="app-supplier-legend__swatch " style ="background:#005eb8; "> </ div >
151- < div class ="app-supplier-legend__body ">
152- < p class ="nhsuk-body-s nhsuk-u-margin-bottom-0 "> < strong > Smith+Nephew</ strong > </ p >
153- < p class ="nhsuk-body-s nhsuk-u-secondary-text-color nhsuk-u-margin-bottom-1 "> 38% · 20 products</ p >
154- < div class ="app-supplier-bar-track "> < div class ="app-supplier-bar-fill " style ="width:100%;background:#005eb8; "> </ div > </ div >
155- </ div >
156- </ div >
157- < div class ="app-supplier-legend__item ">
158- < div class ="app-supplier-legend__swatch " style ="background:#007f3b; "> </ div >
159- < div class ="app-supplier-legend__body ">
160- < p class ="nhsuk-body-s nhsuk-u-margin-bottom-0 "> < strong > Mölnlycke Health Care</ strong > </ p >
161- < p class ="nhsuk-body-s nhsuk-u-secondary-text-color nhsuk-u-margin-bottom-1 "> 29% · 15 products</ p >
162- < div class ="app-supplier-bar-track "> < div class ="app-supplier-bar-fill " style ="width:76%;background:#007f3b; "> </ div > </ div >
163- </ div >
164- </ div >
165- < div class ="app-supplier-legend__item ">
166- < div class ="app-supplier-legend__swatch " style ="background:#ffb81c; "> </ div >
167- < div class ="app-supplier-legend__body ">
168- < p class ="nhsuk-body-s nhsuk-u-margin-bottom-0 "> < strong > ConvaTec</ strong > </ p >
169- < p class ="nhsuk-body-s nhsuk-u-secondary-text-color nhsuk-u-margin-bottom-1 "> 21% · 11 products</ p >
170- < div class ="app-supplier-bar-track "> < div class ="app-supplier-bar-fill " style ="width:55%;background:#ffb81c; "> </ div > </ div >
171- </ div >
172- </ div >
173- < div class ="app-supplier-legend__item ">
174- < div class ="app-supplier-legend__swatch " style ="background:#aeb7bd; "> </ div >
175- < div class ="app-supplier-legend__body ">
176- < p class ="nhsuk-body-s nhsuk-u-margin-bottom-0 "> < strong > Others</ strong > </ p >
177- < p class ="nhsuk-body-s nhsuk-u-secondary-text-color nhsuk-u-margin-bottom-1 "> 12% · 6 products</ p >
178- < div class ="app-supplier-bar-track "> < div class ="app-supplier-bar-fill " style ="width:32%;background:#aeb7bd; "> </ div > </ div >
179- </ div >
180- </ div >
181- </ div >
182- </ div >
188+ </ div >
183189
184190 </ div >
185191 </ div >
0 commit comments