Restore wordmark to Vector printed media
A mistake was made when upstreaming this code from Vector. The
logo must apply in @print media type as well as @screen - not just
@screen - without this change space was being reserved but no logo
rendered.
Follow up to 7931d76b96
Bug: T232140
Change-Id: I0fa079becd722993fe83f15b4537ffb3831a87d8
This commit is contained in:
parent
7516cb05fa
commit
37a69a2f86
1 changed files with 3 additions and 1 deletions
|
|
@ -77,7 +77,9 @@ class ResourceLoaderSkinModule extends ResourceLoaderFileModule {
|
|||
*/
|
||||
private const FEATURE_FILES = [
|
||||
'logo' => [
|
||||
'screen' => [ 'resources/src/mediawiki.skinning/logo.less' ],
|
||||
// Applies the logo and ensures it downloads prior to printing.
|
||||
'all' => [ 'resources/src/mediawiki.skinning/logo.less' ],
|
||||
// Reserves whitespace for the logo in a pseudo element.
|
||||
'print' => [ 'resources/src/mediawiki.skinning/logo-print.less' ],
|
||||
],
|
||||
'content' => [
|
||||
|
|
|
|||
Loading…
Reference in a new issue