diff --git a/Generic_Page_Dashboard_View.css b/Generic_Page_Dashboard_View.css index 923b765..4506abd 100644 --- a/Generic_Page_Dashboard_View.css +++ b/Generic_Page_Dashboard_View.css @@ -112,6 +112,34 @@ float:left; margin-right:10px; } + +@media only screen and (max-device-width: 480px) { + #w3tc-dashboard-widgets #postbox-container-left { + margin-right: 0px; + } + #w3tc-dashboard-widgets { + min-width: auto; + } + #postbox-container-right { + width: 100%; + white-space: nowrap; + float: left; + margin-left: 0px; + } + #w3tc-dashboard-widgets { + background: none; + } + #w3tc-dashboard-widgets #normal-sortables .postbox { + width: 100%; + } + .w3tc_generic_widgetservice_label { + display: inline; + } + #cdn_maxcdn_authorization_key { + width: 100%; + } +} + /** * HiDPI Displays */ diff --git a/PgCache_Environment.php b/PgCache_Environment.php index 34b51e9..aefc037 100644 --- a/PgCache_Environment.php +++ b/PgCache_Environment.php @@ -1188,10 +1188,27 @@ private function rules_cache_generate_apache( $config ) { if ( $compatibility ) { $rules .= "Options -MultiViews\n"; - // allow to read files by apache if they are blocked at some level above - $rules .= "\n"; - $rules .= " Allow from all\n"; - $rules .= "\n"; + // allow to read files by apache if they are blocked at some level above + $rules .= "\n"; + $rules .= " \n"; + $rules .= " \n"; + $rules .= " Order Allow,Deny\n"; + $rules .= " Allow from All\n"; + $rules .= " \n"; + $rules .= " = 2.4>\n"; + $rules .= " Require all granted\n"; + $rules .= " \n"; + $rules .= " \n"; + $rules .= " \n"; + $rules .= " \n"; + $rules .= " Order Allow,Deny\n"; + $rules .= " Allow from All\n"; + $rules .= " \n"; + $rules .= " \n"; + $rules .= " Require all granted\n"; + $rules .= " \n"; + $rules .= " \n"; + $rules .= "\n"; if ( !$etag ) { $rules .= "FileETag None\n";