davidhampgonsalves / hugo-black-and-light-theme

A High contrast, text oriented, performant and Javascript-free theme for Hugo.
https://themes.gohugo.io/themes/hugo-black-and-light-theme/
GNU General Public License v3.0
189 stars 94 forks source link

max-width: auto is not valid CSS #21

Closed skyfaller closed 4 years ago

skyfaller commented 4 years ago

As far as I can tell, "auto" is not a valid value for "max-width". It does not appear in any reference docs I can find, such as the MDN web docs.

max-width: auto occurs in your styling here:

  pre code {
    display: inline;
    max-width: auto;
    padding: 0;
    margin: 0;
    overflow: visible;
    line-height: inherit;
    word-wrap: normal;
    background-color: transparent;
    border: 0;
  }

What were you trying to accomplish? What, if anything, should this CSS value be replaced with?

davidhampgonsalves commented 4 years ago

Thanks, removed.