Skip to content

Commit

Permalink
wc: Fix tabs of catalog browsers #TASK-7216 #TASK-7100
Browse files Browse the repository at this point in the history
  • Loading branch information
jmjuanes committed Dec 4, 2024
1 parent 96038ab commit 5d1e4f4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions src/webcomponents/commons/opencga-browser.js
Original file line number Diff line number Diff line change
Expand Up @@ -250,7 +250,7 @@ export default class OpencgaBrowser extends LitElement {
}

return this._config.views.map(view => html`
<div id="${view.id}" class="content-tab ${this.activeView === view.id ? "active" : ""}">
<div id="${view.id}" class="${this.activeView === view.id ? "d-block" : "d-none"}">
${view.render({
opencgaSession: this.opencgaSession,
config: this._config,
Expand Down Expand Up @@ -348,8 +348,8 @@ export default class OpencgaBrowser extends LitElement {
<div class="col-2">
<div class="d-grid gap-2 pb-3">
<button type="button" class="btn btn-primary" @click="${this.onRun}">
<i class="fa fa-search mx-1" aria-hidden="true"></i>
<span class="fw-bold fs-5">${this._config.searchButtonText || "Search"}</span>
<i class="fa fa-search mx-1"></i>
<span class="fw-bold">${this._config.searchButtonText || "Search"}</span>
</button>
</div>
<ul class="nav nav-tabs mb-3" id="filterTab" role="tablist">
Expand Down

0 comments on commit 5d1e4f4

Please sign in to comment.