Skip to content

Commit 0dd998d

Browse files
committed
Fix style option name.
1 parent a23740f commit 0dd998d

File tree

1 file changed

+3
-2
lines changed

1 file changed

+3
-2
lines changed

index.php

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -104,6 +104,7 @@ function (App\Request $request) use ($app, $context, $forumPagesPathPrefix) {
104104
$content .= '<style>'
105105
. '.bearcms-forum-post-page-title-container{word-break:break-word;}'
106106
. '.bearcms-forum-post-page-content{word-break:break-word;}'
107+
. '.bearcms-forum-post-page-content [data-form-element-type="submit-button"]{font-size:0;}'
107108
. '</style>';
108109
$content .= '</head>';
109110
$content .= '<body>';
@@ -250,11 +251,11 @@ function (App\Request $request) use ($app, $context, $forumPagesPathPrefix) {
250251
]);
251252

252253
$groupForumPostsNewPostButtonContainer = $groupForumPostsNewPostButton->addGroup(__("bearcms.themes.options.forumPosts.Container"));
253-
$groupForumPostsNewPostButtonContainer->addOption($idPrefix . "ForumPostsShowMoreButtonContainerCSS", "css", '', [
254+
$groupForumPostsNewPostButtonContainer->addOption($idPrefix . "ForumPostsNewPostButtonContainerCSS", "css", '', [
254255
"cssTypes" => ["cssPadding", "cssMargin", "cssBorder", "cssRadius", "cssShadow", "cssBackground", "cssSize"],
255256
"cssOptions" => array_diff(isset($details['cssOptions']) ? $details['cssOptions'] : [], ["*/focusState"]),
256257
"cssOutput" => [
257-
["rule", $parentSelector . " .bearcms-forum-posts-new-post-button-container", "box-sizing:border-box;"],
258+
["rule", $parentSelector . " .bearcms-forum-posts-new-post-button-container", "box-sizing:border-box;display:flex;"],
258259
["selector", $parentSelector . " .bearcms-forum-posts-new-post-button-container"]
259260
]
260261
]);

0 commit comments

Comments
 (0)