Skip to content

Commit 0721016

Browse files
add/edit connection: fix copy token button position
1 parent 32c3ba1 commit 0721016

File tree

2 files changed

+13
-2
lines changed

2 files changed

+13
-2
lines changed

frontend/src/app/components/connect-db/connect-db.component.css

Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -169,3 +169,14 @@
169169
padding: 8px 12px;
170170
}
171171

172+
.agent-token {
173+
display: flex;
174+
margin-top: 32px;
175+
margin-bottom: 20px;
176+
width: 100%;
177+
}
178+
179+
.agent-token__copy-button {
180+
margin-top: 4px;
181+
margin-left: 12px;
182+
}

frontend/src/app/components/connect-db/connect-db.component.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ <h1 class="mat-h1 connectForm__fullLine">
221221
</li>
222222
</ol>-->
223223

224-
<div *ngIf="connectionToken" class="encription-password">
224+
<div *ngIf="connectionToken" class="agent-token">
225225
<mat-form-field appearance="outline" style="width:100%">
226226
<mat-label>Token</mat-label>
227227
<input matInput name="token" #token="ngModel" readonly
@@ -233,7 +233,7 @@ <h1 class="mat-h1 connectForm__fullLine">
233233
</mat-form-field>
234234
<button type="button" mat-icon-button
235235
data-testid="connection-agent-token-copy-button"
236-
class="encription-password__copy-button"
236+
class="agent-token__copy-button"
237237
matTooltip="Copy mater password"
238238
[cdkCopyToClipboard]="connectionToken"
239239
(cdkCopyToClipboardCopied)="showCopyNotification('Connection token was copied to clipboard.')">

0 commit comments

Comments
 (0)