Skip to content
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

Closed
wants to merge 1 commit into from

Conversation

SviatoslavBar
Copy link
Contributor

No description provided.

@SviatoslavBar SviatoslavBar changed the base branch from master to feat/lookups-pr September 13, 2024 14:00
<style lang="scss" scoped>
.start-page-card {
box-sizing: border-box;
width: 264px;
Copy link
Collaborator

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);
Copy link
Collaborator

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;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

писав вище

Comment on lines +74 to +78
&__button.wt-button.secondary{
&:hover{
background-color: var(--btn-primary-color);
}
}
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

тут шото теж не те, якщо треба лізти в компонент, значить, проблема з макетом
хіба що, можливо, треба робити це джаваскриптом, і міняти атрибут компонента, щоб не лізти в його внутрощі


<script>

export default {
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

в црмці пишемо на композішенс апі -- під то заточено все

Comment on lines +8 to +9
export default {
name: 'start-page-card',
Copy link
Collaborator

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;
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

фікс розмір

Comment on lines +34 to +36
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'}
Copy link
Collaborator

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;
Copy link
Collaborator

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);
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

фікс розмір

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants