Skip to content

Commit

Permalink
Remove the focusState CSS option where not applicable.
Browse files Browse the repository at this point in the history
  • Loading branch information
ivopetkov committed Nov 3, 2022
1 parent 47947cb commit c43395f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion index.php
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@
$groupContainer = $group->addGroup(__("bearcms/share-button-element-addon/Container"));
$groupContainer->addOption($idPrefix . "ShareButtonContainerCSS", "css", '', [
"cssTypes" => ["cssPadding", "cssMargin", "cssBorder", "cssRadius", "cssShadow", "cssBackground", "cssSize", "cssTextAlign"],
"cssOptions" => isset($details['cssOptions']) ? $details['cssOptions'] : [],
"cssOptions" => array_diff(isset($details['cssOptions']) ? $details['cssOptions'] : [], ["*/focusState"]),
"cssOutput" => [
["rule", $parentSelector . " .bearcms-share-button-element", "box-sizing:border-box;"],
["selector", $parentSelector . " .bearcms-share-button-element"]
Expand Down

0 comments on commit c43395f

Please sign in to comment.