Skip to content

Commit

Permalink
NN-642 minor fix in list ui
Browse files Browse the repository at this point in the history
  • Loading branch information
anlisha-maharjan committed Jan 4, 2025
1 parent c3a57f9 commit 59b86f4
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 8 deletions.
3 changes: 1 addition & 2 deletions frontend/src/components/citation/CitationCommunities.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@

<Listbox v-if="citation_data?.community_scores?.length != 0 && !await_load" v-model="selected_citation"
optionLabel="id" :options="filt_communities" :pt="{
header: { class: 'sticky top-0 flex-1 !px-0 bg-[var(--card-bg)] z-[1] order-1' },
listContainer: { class: 'order-3' },
listContainer: { class: 'order-2' },
list: { class: '!p-0' },
emptyMessage: { class: '!flex !justify-center !items-center !text-sm !text-slate-500 dark:!text-slate-300' },
option: {
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/components/citation/CitationList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@

<Listbox v-if="citation_data?.nodes?.length != 0 && !await_load" v-model="selected_citation" optionLabel="id"
:options="filt_abstracts" :pt="{
header: { class: 'sticky top-0 flex-1 !px-0 bg-[var(--card-bg)] z-[1] order-1' },
listContainer: { class: 'order-3' },
listContainer: { class: 'order-2' },
list: { class: '!p-0' },
emptyMessage: { class: '!flex !justify-center !items-center !text-sm !text-slate-500 dark:!text-slate-300' },
option: {
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/components/enrichment/PathwayList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,7 @@
</EmptyState>

<Listbox v-if="terms !== null && !await_load" v-model="selected_pathway" optionLabel="name" :options="filt_terms" :pt="{
header: { class: 'sticky top-0 flex-1 !px-0 bg-[var(--card-bg)] z-[1] order-1' },
listContainer: { class: 'order-3' },
listContainer: { class: 'order-2' },
list: { class: '!p-0' },
emptyMessage: { class: '!flex !justify-center !items-center !text-sm !text-slate-500 dark:!text-slate-300' },
option: {
Expand Down
3 changes: 1 addition & 2 deletions frontend/src/components/pathwaytools/PathwayGraphList.vue
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
</EmptyState>

<Listbox v-if="term_data !== null" v-model="selected_pathway" optionLabel="name" :options="filt_terms" :pt="{
header: { class: 'sticky top-0 flex-1 !px-0 bg-[var(--card-bg)] z-[1] order-1' },
listContainer: { class: 'order-3' },
listContainer: { class: 'order-2' },
list: { class: '!p-0' },
emptyMessage: { class: '!flex !justify-center !items-center !text-sm !text-slate-500 dark:!text-slate-300' },
option: {
Expand Down

0 comments on commit 59b86f4

Please sign in to comment.