Skip to content
This repository has been archived by the owner on Dec 15, 2023. It is now read-only.

Commit

Permalink
fix for code review
Browse files Browse the repository at this point in the history
  • Loading branch information
ninamarina committed Nov 2, 2023
1 parent 28fd6b3 commit a7708f9
Show file tree
Hide file tree
Showing 2 changed files with 9 additions and 9 deletions.
6 changes: 0 additions & 6 deletions components/description_list/description_list.stories.js
Original file line number Diff line number Diff line change
Expand Up @@ -12,12 +12,6 @@ export const argTypesData = {
},
},
},
descriptionClass: {
control: 'text',
},
termClass: {
control: 'text',
},
};

export const argsData = {
Expand Down
12 changes: 9 additions & 3 deletions components/description_list/description_list.vue
Original file line number Diff line number Diff line change
Expand Up @@ -80,7 +80,7 @@ export default {
},
getGapClass () {
return DT_STACK_GAP.includes(this.gap) ? `dt-description-list--gap-${this.gap}` : null;
return `dt-description-list--gap-${this.gap}`;
},
},
};
Expand All @@ -91,10 +91,16 @@ export default {
display: flex;
flex-wrap: wrap;
align-items: flex-start;
gap: var(--dt-space-400);
flex-direction: row;
line-height: var(--lh2);
line-height: var(--dt-font-line-height-300);
font-size: var(--dt-font-size-100);
--description-list-gap: var(--dt-space-400);
gap: var(--description-list-gap);
each(range(0, 600, 100), {
&--gap-@{value} {
--description-list-gap: ~"var(--dt-space-@{value})";
}
});
&--column {
flex-direction: column;
}
Expand Down

0 comments on commit a7708f9

Please sign in to comment.