-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Feat/ lookups - start page [WTEL-4740] #129
Conversation
<style lang="scss" scoped> | ||
.start-page-card { | ||
box-sizing: border-box; | ||
width: 264px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
а це з Женею аппрували?
зазвичай коли треба вказати конкртений розмір в пікселях, то це помилка в макеті
padding: var(--spacing-xs); | ||
color: var(--text-main-color); | ||
border-radius: var(--border-radius); | ||
background-color: var(--content-wrapper-color); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
} | ||
&__description { | ||
@extend %typo-body-1; | ||
height: 78px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
писав вище
&__button.wt-button.secondary{ | ||
&:hover{ | ||
background-color: var(--btn-primary-color); | ||
} | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
тут шото теж не те, якщо треба лізти в компонент, значить, проблема з макетом
хіба що, можливо, треба робити це джаваскриптом, і міняти атрибут компонента, щоб не лізти в його внутрощі
|
||
<script> | ||
|
||
export default { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
в црмці пишемо на композішенс апі -- під то заточено все
export default { | ||
name: 'start-page-card', |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
композішенс апі
|
||
<style lang="scss" scoped> | ||
.start-page-logo{ | ||
min-height: 200px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
фікс розмір
logo() { | ||
return this.theme === 'dark' ? {src: '/crm/src/modules/start-page/assets/start-page-logo-dark.svg', alt: 'image alt'} | ||
: {src: '/crm/src/modules/start-page/assets/start-page-logo-light.svg', alt: 'image alt'} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
краще імпортнути файл і підставити тут
так як тут написано, я боюсь, віт не розбереться на білді і картинка загубиться, а якщо імпортнути -- то точно ні
<style scoped> | ||
.start-page-wrapper { | ||
box-sizing: border-box; | ||
min-width: 264px; |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
фікс розмір
box-sizing: border-box; | ||
min-width: 264px; | ||
display: grid; | ||
grid-template-columns: repeat(auto-fit, 264px); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
фікс розмір
No description provided.