-
Notifications
You must be signed in to change notification settings - Fork 30
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Make scenario name input resize to fit content
- Loading branch information
1 parent
cc797c6
commit 59d6f78
Showing
3 changed files
with
47 additions
and
11 deletions.
There are no files selected for viewing
17 changes: 10 additions & 7 deletions
17
application/frontend/src/app/core/components/dataset/dataset.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,10 +1,13 @@ | ||
<div class="d-flex flex-row align-items-center ml-3"> | ||
<mat-icon class="blue-svg-icon mb-1" svgIcon="dataset"></mat-icon> | ||
<input | ||
matInput | ||
class="mat-h3 m-0 ml-1 scenario-input" | ||
placeholder="Scenario name" | ||
(input)="onSave()" | ||
[(ngModel)]="scenarioName" | ||
#scenarioInput /> | ||
<div class="resizable-input-container"> | ||
<span class="resize-text mat-h3 m-0" #resizeText>span</span> | ||
<input | ||
matInput | ||
class="scenario-input mat-h3 m-0" | ||
placeholder="Scenario name" | ||
(input)="onSave()" | ||
[(ngModel)]="scenarioName" | ||
#scenarioInput /> | ||
</div> | ||
</div> |
20 changes: 19 additions & 1 deletion
20
application/frontend/src/app/core/components/dataset/dataset.component.scss
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters