Skip to content

Commit

Permalink
Add body class on search view
Browse files Browse the repository at this point in the history
  • Loading branch information
kreafox committed Oct 19, 2022
1 parent 3329f84 commit 6663cfb
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion src/SearchBlock/SearchBlockView.jsx
Original file line number Diff line number Diff line change
Expand Up @@ -68,6 +68,8 @@ export default function SearchBlockView(props) {
schema,
);

console.log('appname', appName);

// TODO: this is a hack, please solve it properly
registry.searchui[appName] = {
...registry.searchui[appName],
Expand All @@ -83,7 +85,7 @@ export default function SearchBlockView(props) {
};

return (
<BodyClass className="searchlib-page">
<BodyClass className={`${appName}-view searchlib-page`}>
<div className="searchlib-block">
{mode !== 'view' ? (
<div className="overlay" style={overlayStyle}></div>
Expand Down

0 comments on commit 6663cfb

Please sign in to comment.