Skip to content

index.css does not match index.css.map #12325

@CL-Jeremy

Description

@CL-Jeremy
  • Gitea version (or commit ref): a3afb88
  • Git version: irrelevant but 2.25.4
  • Node version: (I think this is more relevant) 12.16.3
  • Operating system: irrelevant but Fedora Linux 31
  • Database (use [x]):
    • PostgreSQL
    • MySQL
    • MSSQL
    • SQLite
  • Can you reproduce the bug at https://try.gitea.io:
    • Yes (provide example URL)
    • No
    • Not relevant
  • Log gist:

Description

This is related to #11997.
It might be my fault to have failed to understand how exactly the build system works, or even be a bug somewhere in the toolchain, but the content of /public/css/index.css does not match /public/css/index.css.map.

This is tested multiple times, even after a complete rebuild using git clean -xdf --exclude=node_modules/* . followed by TAGS="bindata" make build.

In particular, I moved sans-serif to the end of the font stacks in the function .override-fonts, which emerged in d78bb1d and worked fine up till 1.11.x. Going through both files shows that the function does not resolve into what it was before (compare index.css.map or index.css from any version between 1.9.x and 1.11.x by searching for :lang or so).

Screenshots

(It does involve the web interface, but you could probably check https://mikeslab.dix.asia/gitea/CL-Jeremy/gitea/pulls/1).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions