diff options
author | Marius Blüm <marius@lineone.io> | 2016-07-30 09:11:19 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2016-07-30 09:11:19 +0200 |
commit | 3b386af295fdd5ea986edd4447637043f69b4c38 (patch) | |
tree | 11c1ee3beaa762329f7e8bd5f189773716961e22 /core | |
parent | 2565a3936162ccbce030510389ecda6d22a0700d (diff) | |
parent | 9f50838cff948e9a311784afb6a1d6199a8f81ab (diff) | |
download | nextcloud-server-3b386af295fdd5ea986edd4447637043f69b4c38.tar.gz nextcloud-server-3b386af295fdd5ea986edd4447637043f69b4c38.zip |
Merge pull request #664 from nextcloud/white-app-menu-fix
Fix wrong preserveAspectRatio at app menu icons
Diffstat (limited to 'core')
-rw-r--r-- | core/templates/layout.user.php | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php index 37e03b692c5..be5c769ab76 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -115,7 +115,7 @@ <?php if( $entry['active'] ): ?> class="active"<?php endif; ?>> <svg width="32" height="32" viewBox="0 0 32 32"> <defs><filter id="invert"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0" /></filter></defs> - <image x="0" y="0" width="32" height="32" preserveAspectRatio="true" filter="url(#invert)" xlink:href="<?php print_unescaped($entry['icon']); ?>" class="app-icon"/> + <image x="0" y="0" width="32" height="32" preserveAspectRatio="xMinYMin meet" filter="url(#invert)" xlink:href="<?php print_unescaped($entry['icon']); ?>" class="app-icon"/> </svg> <div class="icon-loading-dark" style="display:none;"></div> <span> @@ -133,7 +133,7 @@ <?php if( $_['appsmanagement_active'] ): ?> class="active"<?php endif; ?>> <svg width="32" height="32" viewBox="0 0 32 32" class="app-icon"> <defs><filter id="invert"><feColorMatrix in="SourceGraphic" type="matrix" values="-1 0 0 0 1 0 -1 0 0 1 0 0 -1 0 1 0 0 0 1 0" /></filter></defs> - <image x="0" y="0" width="32" height="32" preserveAspectRatio="true" filter="url(#invert)" xlink:href="<?php print_unescaped(image_path('settings', 'apps.svg')); ?>"/> + <image x="0" y="0" width="32" height="32" preserveAspectRatio="xMinYMin meet" filter="url(#invert)" xlink:href="<?php print_unescaped(image_path('settings', 'apps.svg')); ?>"/> </svg> <div class="icon-loading-dark" style="display:none;"></div> <span> |