nextstrain / auspice

Web app for visualizing pathogen evolution
https://docs.nextstrain.org/projects/auspice/
GNU Affero General Public License v3.0
290 stars 159 forks source link

"Data updated" in byline sometimes renders lower than surrounding elements #1716

Open victorlin opened 8 months ago

victorlin commented 8 months ago

_from https://github.com/nextstrain/auspice/pull/1715#discussion_r1367312799_

The Data updated element sometimes renders slightly lower than the other ones and I can't figure out why.

Example:

ncov/open is rendered lower

No problem when data provenance is present:

ncov/gisaid looks fine

This seems to happen every time except when there is the data provenance element or the title or byline itself requires line wrapping. It's funny because the spans are not styled, and removing the parent div's vertical-align: middle doesn't seem to make a difference.

@tsibley noted that this is observed on Chromium but not on Firefox.