]> source.dussan.org Git - nextcloud-server.git/commitdiff
Fix icon-folder css
authorJulius Haertl <jus@bitgrid.net>
Mon, 17 Oct 2016 12:51:31 +0000 (14:51 +0200)
committerJulius Haertl <jus@bitgrid.net>
Fri, 18 Nov 2016 09:23:24 +0000 (10:23 +0100)
Signed-off-by: Julius Haertl <jus@bitgrid.net>
apps/theming/lib/Controller/ThemingController.php
apps/theming/tests/Controller/ThemingControllerTest.php

index c908f0e5782b38282191f8d5fd12dcb1fbe779d8..c0661409d0595dc31dc4f8740659e7365724f32e 100644 (file)
@@ -406,7 +406,7 @@ class ThemingController extends Controller {
                if($logo !== '' or $color !== '') {
                        $responseCss .= '.icon-file,.icon-filetype-text {' .
                                'background-image: url(\'./img/core/filetypes/text.svg?v='.$cacheBusterValue.'\');' . "}\n" .
-                               '.icon-folder, .icon-filetype-folder ' .
+                               '.icon-folder, .icon-filetype-folder {' .
                                'background-image: url(\'./img/core/filetypes/folder.svg?v='.$cacheBusterValue.'\');' . "}\n" .
                                '.icon-filetype-folder-drag-accept {' .
                                'background-image: url(\'./img/core/filetypes/folder-drag-accept.svg?v='.$cacheBusterValue.'\')!important;' . "}\n";
index b7bce2d6ec01c3f8adb8fb6def0b73b26314572e..3bf7709b0def74b0ed95cf86909c85c196aeaa14 100644 (file)
@@ -477,7 +477,7 @@ class ThemingControllerTest extends TestCase {
                $expectedData .= '.nc-theming-contrast {color: #ffffff}' . "\n";
                $expectedData .= '.icon-file,.icon-filetype-text {' .
                        'background-image: url(\'./img/core/filetypes/text.svg?v=0\');' . "}\n" .
-                       '.icon-folder, .icon-filetype-folder ' .
+                       '.icon-folder, .icon-filetype-folder {' .
                        'background-image: url(\'./img/core/filetypes/folder.svg?v=0\');' . "}\n" .
                        '.icon-filetype-folder-drag-accept {' .
                        'background-image: url(\'./img/core/filetypes/folder-drag-accept.svg?v=0\')!important;' . "}\n";
@@ -577,7 +577,7 @@ class ThemingControllerTest extends TestCase {
                $expectedData .= '.ui-widget-header { color: #000000; }' . "\n";
                $expectedData .= '.icon-file,.icon-filetype-text {' .
                        'background-image: url(\'./img/core/filetypes/text.svg?v=0\');' . "}\n" .
-                       '.icon-folder, .icon-filetype-folder ' .
+                       '.icon-folder, .icon-filetype-folder {' .
                        'background-image: url(\'./img/core/filetypes/folder.svg?v=0\');' . "}\n" .
                        '.icon-filetype-folder-drag-accept {' .
                        'background-image: url(\'./img/core/filetypes/folder-drag-accept.svg?v=0\')!important;' . "}\n";
@@ -628,7 +628,7 @@ class ThemingControllerTest extends TestCase {
                $expectedData .= '.nc-theming-contrast {color: #ffffff}' . "\n";
                $expectedData .= '.icon-file,.icon-filetype-text {' .
                        'background-image: url(\'./img/core/filetypes/text.svg?v=0\');' . "}\n" .
-                       '.icon-folder, .icon-filetype-folder ' .
+                       '.icon-folder, .icon-filetype-folder {' .
                        'background-image: url(\'./img/core/filetypes/folder.svg?v=0\');' . "}\n" .
                        '.icon-filetype-folder-drag-accept {' .
                        'background-image: url(\'./img/core/filetypes/folder-drag-accept.svg?v=0\')!important;' . "}\n";
@@ -776,7 +776,7 @@ class ThemingControllerTest extends TestCase {
                $expectedData .= '.nc-theming-contrast {color: #ffffff}' . "\n";
                $expectedData .= '.icon-file,.icon-filetype-text {' .
                        'background-image: url(\'./img/core/filetypes/text.svg?v=0\');' . "}\n" .
-                       '.icon-folder, .icon-filetype-folder ' .
+                       '.icon-folder, .icon-filetype-folder {' .
                        'background-image: url(\'./img/core/filetypes/folder.svg?v=0\');' . "}\n" .
                        '.icon-filetype-folder-drag-accept {' .
                        'background-image: url(\'./img/core/filetypes/folder-drag-accept.svg?v=0\')!important;' . "}\n";
@@ -893,7 +893,7 @@ class ThemingControllerTest extends TestCase {
                $expectedData .= '.ui-widget-header { color: #000000; }' . "\n";
                $expectedData .= '.icon-file,.icon-filetype-text {' .
                        'background-image: url(\'./img/core/filetypes/text.svg?v=0\');' . "}\n" .
-                       '.icon-folder, .icon-filetype-folder ' .
+                       '.icon-folder, .icon-filetype-folder {' .
                        'background-image: url(\'./img/core/filetypes/folder.svg?v=0\');' . "}\n" .
                        '.icon-filetype-folder-drag-accept {' .
                        'background-image: url(\'./img/core/filetypes/folder-drag-accept.svg?v=0\')!important;' . "}\n";