Skip to content

Commit

Permalink
Inline class styles
Browse files Browse the repository at this point in the history
The characters in the OpenBMC logo use class styles 1 and 6.  SVGO for
whatever reason chokes on trying to deduplicate these, which causes a
template error when inlining the SVG, because style tags still exist.

Ideally in the future we would export our SVGs with inline styles, or
get SVGO to do it for us, but inline the styles manually for now.

Note, that build-on-openbmc-logo.svg has no style tags, and does this by
default, even though they are very similar images.

Tested: Loaded webui.  Logo loads properly.

Change-Id: I21c7a24ba49c85559f07fce859d81ed96a40a04f
Signed-off-by: Ed Tanous <[email protected]>
  • Loading branch information
edtanous committed Apr 8, 2024
1 parent 3502fb5 commit d4eaf8b
Showing 1 changed file with 11 additions and 13 deletions.
24 changes: 11 additions & 13 deletions src/assets/images/login-company-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.

0 comments on commit d4eaf8b

Please sign in to comment.