Chore: Removes unused impports in ContactIntro (#2218)

This commit is contained in:
Nithin David Thomas 2021-05-05 00:16:02 +05:30 committed by GitHub
parent 2d4acaf8fe
commit fd67a5795a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 7 deletions

View file

@ -82,9 +82,6 @@ export default {
</script> </script>
<style scoped lang="scss"> <style scoped lang="scss">
@import '~dashboard/assets/scss/variables';
@import '~dashboard/assets/scss/mixins';
.contact--details { .contact--details {
margin-top: var(--space-small); margin-top: var(--space-small);
} }
@ -99,9 +96,7 @@ export default {
} }
.contact--name { .contact--name {
@include text-ellipsis;
text-transform: capitalize; text-transform: capitalize;
white-space: normal;
font-weight: var(--font-weight-bold); font-weight: var(--font-weight-bold);
} }

View file

@ -13,8 +13,8 @@ const Template = (args, { argTypes }) => ({
'<contact-intro v-bind="$props" :user="user" @edit="onEdit" @message="onNewMessage" />', '<contact-intro v-bind="$props" :user="user" @edit="onEdit" @message="onNewMessage" />',
}); });
export const DefaultNote = Template.bind({}); export const DefaultContactIntro = Template.bind({});
DefaultNote.args = { DefaultContactIntro.args = {
contact: { contact: {
id: 979442, id: 979442,
name: 'Eden Hazard', name: 'Eden Hazard',