web/satellite: scroll added for project description container (#3166)
This commit is contained in:
parent
ef2615fcf4
commit
2a4a4b60d5
@ -32,7 +32,7 @@
|
|||||||
height="10vh"
|
height="10vh"
|
||||||
is-multiline="true"
|
is-multiline="true"
|
||||||
:init-value="storedDescription"
|
:init-value="storedDescription"
|
||||||
@setData="setNewDescription"
|
@setData="setNewDescription"
|
||||||
/>
|
/>
|
||||||
<div class="project-details-info-container__description-container__buttons-area">
|
<div class="project-details-info-container__description-container__buttons-area">
|
||||||
<VButton
|
<VButton
|
||||||
@ -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;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user