Uploaded image for project: 'MusicBrainz Server'
  1. MusicBrainz Server
  2. MBS-10887

CSS misalignment of country/date text with other columns

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Normal
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2020-06-15
    • Component/s: Data display
    • Labels:
      None

      Description

      In release lists (e.g. release group index or label) the text for countries and dates is slightly lower than the text of the other columns, when a flag is present.

      cf screenshot with baseline added for visibility

      This can be fixed in the CSS for .flag-class:

      --- a/root/static/styles/flags.less
      +++ b/root/static/styles/flags.less
      @@ -1,6 +1,6 @@
      {{ .flag-class (@image) {}}
      {{ background: data-uri(@image) no-repeat left center;}}
      - padding: 3px 0 0 19px;
      + padding: 0 0 0 19px;
      {{ }}}

       

      I didn't see any downside when adding this fix

        Attachments

          Activity

            People

            Assignee:
            loujin loujin
            Reporter:
            loujin loujin
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved:

                Packages

                Version Package
                2020-06-15