diff --git a/file_viewer.php b/file_viewer.php index c8ba9a5..64d2bf7 100644 --- a/file_viewer.php +++ b/file_viewer.php @@ -21,11 +21,11 @@ $randomColor = "rgba(" . rand(0, 255) . ", " . rand(0, 255) . ", " . rand(0, 255); $useableName = str_replace("/", "_", $path); - echo "#input_$useableName:checked + .submenu_$useableName, + echo " #input_$useableName:checked + .submenu_$useableName, .submenu_$useableName:hover { display: block; background-color: $randomColor, 0.2); - }\n"; + }\n\n"; generateCSSCode($filename); } @@ -40,7 +40,7 @@ $folderName = end(explode("/", $path)); echo " $indentation $indentation - $indentation