Skip to content

Commit

Permalink
resources: smoother create (fixes #7798) (#7801)
Browse files Browse the repository at this point in the history
Co-authored-by: mutugiii <mutugimutuma@gmail.com>
Co-authored-by: dogi <dogi@users.noreply.github.com>
  • Loading branch information
3 people authored Dec 27, 2024
1 parent c52e42d commit a8297ef
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 2 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "planet",
"license": "AGPL-3.0",
"version": "0.16.21",
"version": "0.16.22",
"myplanet": {
"latest": "v0.21.55",
"min": "v0.20.55"
Expand Down
2 changes: 1 addition & 1 deletion src/app/resources/resources-add.component.html
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,7 @@
</mat-autocomplete>
<mat-error><planet-form-error-messages [control]="resourceForm.controls.openWhichFile"></planet-form-error-messages></mat-error>
</mat-form-field>
<div class="inner-gaps by-column full-width">
<div class="file-upload inner-gaps by-column full-width">
<label i18n>File Upload:</label>
<planet-file-input (fileChange)="bindFile($event)"></planet-file-input>
<label i18n class="warn-text-color" *ngIf="resourceForm?.errors?.fileTooBig">File size cannot exceed more than 512 MB</label>
Expand Down
6 changes: 6 additions & 0 deletions src/app/resources/resources-add.scss
Original file line number Diff line number Diff line change
Expand Up @@ -22,5 +22,11 @@
.form-container {
width: auto;
}

.file-upload {
display: flex;
flex-direction: column;
}

}
}

0 comments on commit a8297ef

Please sign in to comment.