diff --git a/src/plugins/Metabase/Plugin.php b/src/plugins/Metabase/Plugin.php
index 176cf1d0ba..ab4bb74369 100644
--- a/src/plugins/Metabase/Plugin.php
+++ b/src/plugins/Metabase/Plugin.php
@@ -27,6 +27,10 @@ public function _init()
$this->part('search-tabs/agent');
});
+ $app->hook('template(search.opportunities.search-tabs):after', function(){
+ $this->part('search-tabs/opportunity');
+ });
+
// $app->hook('template(search.spaces.search-tabs):after', function(){
// $this->part('search-tabs/space');
// });
@@ -35,6 +39,10 @@ public function _init()
$this->part('search-tabs/entity-agent-cards');
});
+ $app->hook('template(search.opportunities.search-header):after', function(){
+ $this->part('search-tabs/entity-opportunity-cards');
+ });
+
// $app->hook('template(search.spaces.search-header):after', function(){
// $this->part('search-tabs/entity-space-cards');
// });
diff --git a/src/plugins/Metabase/layouts/parts/search-tabs/entity-opportunity-cards.php b/src/plugins/Metabase/layouts/parts/search-tabs/entity-opportunity-cards.php
new file mode 100644
index 0000000000..a3b05af57a
--- /dev/null
+++ b/src/plugins/Metabase/layouts/parts/search-tabs/entity-opportunity-cards.php
@@ -0,0 +1,14 @@
+import('
+ entity-cards
+');
+?>
+
\ No newline at end of file
diff --git a/src/plugins/Metabase/layouts/parts/search-tabs/opportunity.php b/src/plugins/Metabase/layouts/parts/search-tabs/opportunity.php
new file mode 100644
index 0000000000..42bc3745fa
--- /dev/null
+++ b/src/plugins/Metabase/layouts/parts/search-tabs/opportunity.php
@@ -0,0 +1,19 @@
+import('
+ search-dashboard
+');
+
+?>
+
+
+
+
+
\ No newline at end of file
diff --git a/src/themes/BaseV2/assets-src/sass/pages/_search.scss b/src/themes/BaseV2/assets-src/sass/pages/_search.scss
index 78325d657f..b2af7255b5 100644
--- a/src/themes/BaseV2/assets-src/sass/pages/_search.scss
+++ b/src/themes/BaseV2/assets-src/sass/pages/_search.scss
@@ -584,17 +584,16 @@
.search {
.tabs-component__panels {
background: var(--mc-gray-100);
- margin-top: size(88);
padding-bottom: size(40);
margin-bottom: 0;
min-height: size(500);
@media (max-width: size(800)) {
- margin-top: size(123);
+ margin-top: size(5);
}
@media (max-width: size(500)) {
- margin-top: size(130);
+ margin-top: size(5);
}
}