Skip to content

Commit a2002ac

Browse files
committed
add outline to legend. relates to gbif/hosted-portals#263
1 parent caaaae1 commit a2002ac

File tree

1 file changed

+15
-9
lines changed

1 file changed

+15
-9
lines changed

packages/react-components/src/search/OccurrenceSearch/views/Clusters/ClusterPresentation.js

+15-9
Original file line numberDiff line numberDiff line change
@@ -188,55 +188,61 @@ export const ClusterPresentation = ({ reload, first, prev, next, size, from, err
188188
<div>
189189
<div style={{ borderRadius: '50%', width: 25, height: 25, background: '#fab93d' }}></div>
190190
</div>
191-
<div style={{ flex: '1 1 auto;' }}>Specimen</div>
191+
<div style={{ flex: '1 1 auto' }}>Specimen</div>
192192
</div>
193193
<div css={css.legendItem}>
194194
<div>
195195
<div style={{ borderRadius: '50%', width: 25, height: 25, background: '#5295a4' }}></div>
196196
</div>
197-
<div style={{ flex: '1 1 auto;' }}>Observation</div>
197+
<div style={{ flex: '1 1 auto' }}>Observation</div>
198198
</div>
199199
<div css={css.legendItem}>
200200
<div>
201201
<div style={{ borderRadius: '50%', width: 25, height: 25, background: '#56bda7' }}></div>
202202
</div>
203-
<div style={{ flex: '1 1 auto;' }}>Treatment</div>
203+
<div style={{ flex: '1 1 auto' }}>Treatment</div>
204204
</div>
205205
<div css={css.legendItem}>
206206
<div>
207207
<div css={css.stripes} style={{ borderRadius: '50%', width: 25, height: 25 }}></div>
208208
</div>
209-
<div style={{ flex: '1 1 auto;' }}>Contains differemt identifications</div>
209+
<div style={{ flex: '1 1 auto' }}>Contains differemt identifications</div>
210210
</div>
211211
<div css={css.legendItem}>
212212
<div>
213213
<div style={{ borderRadius: '50%', width: 15, height: 15, background: '#e9c0dc' }}></div>
214214
</div>
215-
<div style={{ flex: '1 1 auto;' }}>Sequence</div>
215+
<div style={{ flex: '1 1 auto' }}>Sequence</div>
216216
</div>
217217
<div css={css.legendItem}>
218218
<div>
219219
<div style={{ borderRadius: '50%', width: 15, height: 15, background: 'rgb(203, 56, 53)' }}></div>
220220
</div>
221-
<div style={{ flex: '1 1 auto;' }}>Type specimen</div>
221+
<div style={{ flex: '1 1 auto' }}>Type specimen</div>
222222
</div>
223223
<div css={css.legendItem}>
224224
<div>
225225
<div style={{ borderRadius: '50%', width: 15, height: 15, background: 'rgb(44, 79, 123)' }}></div>
226226
</div>
227-
<div style={{ flex: '1 1 auto;' }}>Images</div>
227+
<div style={{ flex: '1 1 auto' }}>Images</div>
228228
</div>
229229
<div css={css.legendItem}>
230230
<div>
231231
<div style={{ width: 25, height: 3, background: 'pink' }}></div>
232232
</div>
233-
<div style={{ flex: '1 1 auto;' }}>Different publishers</div>
233+
<div style={{ flex: '1 1 auto' }}>Different publishers</div>
234234
</div>
235235
<div css={css.legendItem}>
236236
<div>
237237
<div style={{ width: 15, height: 3, background: 'deepskyblue' }}></div>
238238
</div>
239-
<div style={{ flex: '1 1 auto;' }}>Same publisher</div>
239+
<div style={{ flex: '1 1 auto' }}>Same publisher</div>
240+
</div>
241+
<div css={css.legendItem}>
242+
<div>
243+
<div style={{ borderRadius: '50%', width: 25, height: 25, border: '3px solid #888888' }}></div>
244+
</div>
245+
<div style={{ flex: '1 1 auto' }}>Entry point</div>
240246
</div>
241247
</InfoCard>
242248
</div>

0 commit comments

Comments
 (0)