This commit is contained in:
harukin 2018-11-23 18:08:45 +09:00
parent a5bdba9822
commit fc140c58e4
2 changed files with 6 additions and 8 deletions

View File

@ -2109,7 +2109,7 @@ a[title*="pawoo.net"]::after{
.toplevel_item{ .toplevel_item{
width: calc(50% - 16px); width: calc(50% - 16px);
margin: 8px; 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); margin-right: calc(calc(50% - $converse_widts) / 2);
} }
} }

View File

@ -30,8 +30,11 @@ if(! App::$install) {
$top_photo=get_pconfig($uid,'plusfuture','top_photo'); $top_photo=get_pconfig($uid,'plusfuture','top_photo');
$reply_photo=get_pconfig($uid,'plusfuture','reply_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 // 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); 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. // 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') if(local_channel() && App::$channel && App::$channel['channel_theme'] != 'plusfuture')