Use <use /> to render transparent SVG logo instead of inserting it (#10845)

This commit is contained in:
Eugen Rochko 2019-05-27 03:33:39 +02:00 committed by GitHub
parent 3b9c02506d
commit 8d5dcc9301
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
8 changed files with 16 additions and 41 deletions

View file

@ -33,3 +33,6 @@
%body{ class: body_classes }
= content_for?(:content) ? yield(:content) : yield
%div{ style: 'display: none'}
= render file: Rails.root.join('app', 'javascript', 'images', 'logo_transparent.svg')