diff --git a/view/theme/plusfuture/css/style.css b/view/theme/plusfuture/css/style.css index a99a071..81d7a42 100644 --- a/view/theme/plusfuture/css/style.css +++ b/view/theme/plusfuture/css/style.css @@ -2109,7 +2109,7 @@ a[title*="pawoo.net"]::after{ .toplevel_item{ width: calc(50% - 16px); margin: 8px; - margin-left: calc(calc(50% - $hoge) / 2); + margin-left: calc(calc(50% - $converse_widts) / 2); margin-right: calc(calc(50% - $converse_widts) / 2); } } diff --git a/view/theme/plusfuture/php/style.php b/view/theme/plusfuture/php/style.php index 148d193..95a9061 100644 --- a/view/theme/plusfuture/php/style.php +++ b/view/theme/plusfuture/php/style.php @@ -30,8 +30,11 @@ if(! App::$install) { $top_photo=get_pconfig($uid,'plusfuture','top_photo'); $reply_photo=get_pconfig($uid,'plusfuture','reply_photo'); - $converse_widts; - $converse_widtd; + + $hoge = intval($converse_width); + $converse_widtd = ($hoge * 2); + $converse_widtd .= "px"; + $converse_widts = "$converse_width" . "px"; } // Now load the scheme. If a value is changed above, we'll keep the settings @@ -165,11 +168,6 @@ if(file_exists('view/theme/plusfuture/css/style.css')) { echo str_replace(array_keys($options), array_values($options), $x); } - -$hoge = intval($converse_width); -$converse_widtd = ($hoge * 2); -$converse_widtd .= "px"; -$converse_widts = "$converse_width" . "px"; // Set the schema to the default schema in derived themes. See the documentation for creating derived themes how to override this. if(local_channel() && App::$channel && App::$channel['channel_theme'] != 'plusfuture')