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

@ -128,7 +128,9 @@ export default class ProjectDetailsArea extends Vue {
new UpdateProjectModel(this.$store.getters.selectedProject.id, this.newDescription), new UpdateProjectModel(this.$store.getters.selectedProject.id, this.newDescription),
); );
} catch (error) { } 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(); this.toggleEditing();
@ -235,6 +237,8 @@ export default class ProjectDetailsArea extends Vue {
line-height: 21px; line-height: 21px;
color: #354049; color: #354049;
width: 100%; width: 100%;
max-height: 25vh;
overflow-y: scroll;
word-break: break-word; word-break: break-word;
} }
} }