web/satellite: scroll added for project description container (#3166)

This commit is contained in:
Vitalii Shpital 2019-10-07 17:51:33 +03:00 committed by GitHub
parent ef2615fcf4
commit 2a4a4b60d5
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -32,7 +32,7 @@
height="10vh"
is-multiline="true"
:init-value="storedDescription"
@setData="setNewDescription"
@setData="setNewDescription"
/>
<div class="project-details-info-container__description-container__buttons-area">
<VButton
@ -128,7 +128,9 @@ export default class ProjectDetailsArea extends Vue {
new UpdateProjectModel(this.$store.getters.selectedProject.id, this.newDescription),
);
} catch (error) {
await this.$store.dispatch(NOTIFICATION_ACTIONS.ERROR, error.message);
await this.$store.dispatch(NOTIFICATION_ACTIONS.ERROR, `Unable to update project description. ${error.message}`);
return;
}
this.toggleEditing();
@ -235,6 +237,8 @@ export default class ProjectDetailsArea extends Vue {
line-height: 21px;
color: #354049;
width: 100%;
max-height: 25vh;
overflow-y: scroll;
word-break: break-word;
}
}