mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2025-01-25 01:04:02 +08:00
(fix) The spy bar should run along the entire height of the sections on the item card [SCI-10111] (#7056)
This commit is contained in:
parent
24901016bc
commit
fd74a127ae
1 changed files with 3 additions and 4 deletions
|
@ -2,16 +2,16 @@
|
|||
<div class="flex gap-3">
|
||||
<div id="navigation-text"
|
||||
v-if="thresholds.length"
|
||||
class="flex flex-col py-2 px-0 gap-3 self-stretch w-[130px] h-[130px] justify-center items-center">
|
||||
class="flex flex-col w-[130px] gap-3 py-2">
|
||||
<div v-for="(navigationItem, index) in itemsToCreate" :key="navigationItem.textId"
|
||||
@click="navigateToSection(navigationItem)"
|
||||
class="text-sn-grey nav-text-item flex flex-col w-[130px] h-[130px] justify-between text-right hover:cursor-pointer"
|
||||
class="text-sn-grey nav-text-item flex flex-col w-[130px] h-fit text-right hover:cursor-pointer"
|
||||
:class="{ 'text-sn-science-blue': navigationItemsStatus[index] }">
|
||||
{{ i18n.t(`repositories.highlight_component.${navigationItem.labelAlias}`) }}
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div id="highlight-container" class="w-[1px] h-[130px] flex flex-col justify-evenly bg-sn-light-grey">
|
||||
<div id="highlight-container" class="w-[1px] flex flex-col justify-evenly bg-sn-light-grey">
|
||||
<div v-for="(navigationItem, index) in itemsToCreate" :key="navigationItem.id"
|
||||
class="w-[5px] h-[28px] rounded-[11px]"
|
||||
:class="{ 'bg-sn-science-blue relative left-[-2px]': navigationItemsStatus[index] }">
|
||||
|
@ -58,7 +58,6 @@ export default {
|
|||
}
|
||||
});
|
||||
},
|
||||
|
||||
beforeDestroy() {
|
||||
window.removeEventListener('resize', this.handleResize);
|
||||
this.removeScrollListener();
|
||||
|
|
Loading…
Reference in a new issue