web/satellite: project description enhanced (#3494)

This commit is contained in:
Vitalii Shpital 2019-11-05 18:15:27 +02:00 committed by GitHub
parent 466cc8ab0b
commit 0e3f0eeb12
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 9 additions and 1 deletions

View File

@ -215,12 +215,19 @@ export default class ProjectDetailsArea extends Vue {
padding: 28px; padding: 28px;
background-color: #fff; background-color: #fff;
::-webkit-scrollbar,
::-webkit-scrollbar-track,
::-webkit-scrollbar-thumb {
margin-top: 0;
}
&__text { &__text {
display: flex; display: flex;
flex-direction: column; flex-direction: column;
justify-content: center; justify-content: center;
align-items: flex-start; align-items: flex-start;
margin-right: 20px; margin-right: 20px;
width: 100%;
&__title { &__title {
font-size: 16px; font-size: 16px;
@ -237,6 +244,7 @@ export default class ProjectDetailsArea extends Vue {
max-height: 25vh; max-height: 25vh;
overflow-y: scroll; overflow-y: scroll;
word-break: break-word; word-break: break-word;
white-space: pre-line;
} }
} }

View File

@ -175,7 +175,7 @@ export default class UsageReport extends Vue {
const url = new URL(location.origin); const url = new URL(location.origin);
url.pathname = 'usage-report'; url.pathname = 'usage-report/';
url.searchParams.append('projectID', projectID); url.searchParams.append('projectID', projectID);
url.searchParams.append('since', toUnixTimestamp(startDate).toString()); url.searchParams.append('since', toUnixTimestamp(startDate).toString());
url.searchParams.append('before', toUnixTimestamp(endDate).toString()); url.searchParams.append('before', toUnixTimestamp(endDate).toString());