cards css
parent
8ce2f2997f
commit
fa3ff5735c
|
|
@ -34,8 +34,8 @@ export class PagesMenuItemComponent {
|
|||
}
|
||||
|
||||
get parent(){
|
||||
return !this.current && this.pagesService.currentPage?.link.startsWith(
|
||||
this.item.link.substring( 0, this.item.link.lastIndexOf("/") + 1 )
|
||||
return !!this.pagesService.currentPage?.parents?.data.find(
|
||||
(item:any) => item.id == this.item.id
|
||||
)
|
||||
}
|
||||
|
||||
|
|
|
|||
|
|
@ -102,10 +102,16 @@ cards-section-items{
|
|||
padding: 16px;
|
||||
border-radius: 12px;
|
||||
border: 1px solid var(--second-dis);
|
||||
background-color: var(--white);
|
||||
overflow: hidden;
|
||||
img{
|
||||
object-fit: contain;
|
||||
width: 100%;
|
||||
height: 100%;
|
||||
transition: transform 0.1s;
|
||||
&:hover{
|
||||
transform: scale(1.05);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue