]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix wrong preserveAspectRatio at app menu icons 664/head
authorJulius Haertl <jus@bitgrid.net>
Fri, 29 Jul 2016 21:06:26 +0000 (23:06 +0200)
committerJulius Haertl <jus@bitgrid.net>
Fri, 29 Jul 2016 21:06:26 +0000 (23:06 +0200)
core/templates/layout.user.php

index 37e03b692c58947ea8939ba648f3703fcccd90b4..be5c769ab768a3d6e9d46fb9f58bb46b02d06d5c 100644 (file)
                                                        <?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>
                                                        <?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>