Skip to content

Commit

Permalink
fix: registration page did doc[3141]
Browse files Browse the repository at this point in the history
  • Loading branch information
Ihar committed Dec 11, 2024
1 parent 22cb4a5 commit 213343f
Show file tree
Hide file tree
Showing 7 changed files with 54 additions and 4 deletions.
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
<button mat-icon-button class="refresh-action-btn" (click)="refresh.emit($event)">
<button class="refresh-action-btn" (click)="refresh.emit($event)">
<!-- <mat-icon #sync>sync</mat-icon>-->

<i #sync class="pi pi-sync"></i>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -263,6 +263,11 @@
font-weight: bold;
}

::ng-deep app-refresh-btn .refresh-action-btn {
border: none;
cursor: pointer;
}

.permissions__roles .role[has="true"] {
color: darkgreen;
}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -59,3 +59,7 @@ textarea[readonly] {
color: var(--color-grey-6);
font-family: 'Roboto', sans-serif;
}

::ng-deep .policy-configuration .tab-header {
display: inline-block !important
}
Original file line number Diff line number Diff line change
Expand Up @@ -298,13 +298,15 @@ <h1>Profile</h1>
<!-- </mat-form-field>-->

<div class="form-group example-full-width" [attr.active-field]="didDocumentType.value">
<label for="didDocumentTextarea" class="form-label">DID Document:</label>
<!-- <label for="didDocumentTextarea" class="form-label">DID Document:</label>-->
<textarea
pInputTextarea
id="didDocumentTextarea"
[formControl]="didDocumentForm"
style="height: 150px; width: 100%;"
class="full-width">
class="full-width"
placeholder="DID Document: *"
>
</textarea>
<small *ngIf="didDocumentForm.hasError('incorrect')" class="p-error">
Invalid DID Document.
Expand Down
19 changes: 19 additions & 0 deletions frontend/src/app/views/root-profile/root-profile.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -562,3 +562,22 @@ mat-radio-button {
.p-button:disabled {
pointer-events: none !important;
}

.example-full-width {
margin-top: 20px
}

.example-full-width textarea {
width: 100%;
&:focus {
border: none
}
}

.list-item div:first-child {
margin-bottom: 10px
}

.list-item label {
padding-left: 8px;
}
Original file line number Diff line number Diff line change
Expand Up @@ -338,12 +338,13 @@ <h1>Profile</h1>

<div class="form-group example-full-width"
[attr.active-field]="didDocumentType.value">
<label for="didDocumentTextarea" class="form-label">DID Document:</label>
<!-- <label for="didDocumentTextarea" class="form-label">DID Document:</label>-->
<textarea
pInputTextarea
id="didDocumentTextarea"
[formControl]="didDocumentForm"
class="full-width"
placeholder="DID Document: *"
style="height: 150px">
</textarea>
<small *ngIf="didDocumentForm.hasError('incorrect')" class="p-error">
Expand Down
19 changes: 19 additions & 0 deletions frontend/src/app/views/user-profile/user-profile.component.scss
Original file line number Diff line number Diff line change
Expand Up @@ -944,3 +944,22 @@ mat-radio-button {
fill: var(--color-primary, #0681ee);
color: var(--color-primary, #0681ee);
}

.example-full-width {
margin-top: 20px
}

.example-full-width textarea {
width: 100%;
&:focus {
border: none
}
}

.boolean-option-group div:last-child {
margin-top: 10px
}

.boolean-option-group label {
padding-left: 8px;
}

0 comments on commit 213343f

Please sign in to comment.