bx-1379-redesign #15

Merged
ksenia_mikhailova merged 124 commits from bx-1379-redesign into dev 2024-09-06 15:39:13 +03:00
2 changed files with 8 additions and 10 deletions
Showing only changes of commit c6cac7ffff - Show all commits

View File

@ -61,14 +61,19 @@ $boxShadow: 0px 0px 8px rgba(0, 0, 0, .25);
box-shadow: $boxShadow;
color: $textColor;
display: flex;
flex-direction: column;
max-height: calc(100vh - 8rem);
}
&-accordion {
padding: 1.125rem 1rem;
border-bottom: 2px solid var(--primary-color);
max-height: 4rem;
min-height: 1.625rem;
overflow: hidden;
transition: max-height 300ms linear;
display: flex;
flex-direction: column;
&:last-child {
border-bottom: none;
@ -97,13 +102,9 @@ $boxShadow: 0px 0px 8px rgba(0, 0, 0, .25);
flex-shrink: 0;
}
}
&.open {
max-height: 50vh;
}
&-content {
max-height: 32vh;
height: calc(100% - 2rem);
overflow: auto;
margin-top: 1.125rem;
padding-left: 2rem;

View File

@ -28,9 +28,6 @@ export const usePromoSidebar = defineStore('promo_sidebar', {
if (target?.target) {
sidebar_data.target = target.target.toString()
}
if (!this.isAccOpen('desc')) {
this.accordions.push('desc')
}
this.setData(sidebar_data)
}