Browse Source

Some styling fixes.

pull/346/head
Sebastian Stehle 7 years ago
parent
commit
37be4529b0
  1. 6
      src/Squidex/app/features/settings/pages/clients/client.component.html
  2. 5
      src/Squidex/app/features/settings/pages/clients/client.component.scss

6
src/Squidex/app/features/settings/pages/clients/client.component.html

@ -27,7 +27,7 @@
<div class="col-auto"> <div class="col-auto">
<button type="button" class="btn btn-primary" (click)="connect()">Connect</button> <button type="button" class="btn btn-primary" (click)="connect()">Connect</button>
</div> </div>
<div class="col-auto cell-actions"> <div class="col-auto cell-actions no-padding">
<button type="button" class="btn btn-text-danger" <button type="button" class="btn btn-text-danger"
(sqxConfirmClick)="revoke()" (sqxConfirmClick)="revoke()"
confirmTitle="Revoke client" confirmTitle="Revoke client"
@ -46,7 +46,7 @@
<div class="col cell-input"> <div class="col cell-input">
<input readonly class="form-control" value="{{appsState.appName}}:{{client.id}}" #inputName /> <input readonly class="form-control" value="{{appsState.appName}}:{{client.id}}" #inputName />
</div> </div>
<div class="col-auto cell-actions"> <div class="col-auto cell-actions no-padding">
<button type="button" class="btn btn-text" [sqxCopy]="inputName"> <button type="button" class="btn btn-text" [sqxCopy]="inputName">
<i class="icon-copy"></i> <i class="icon-copy"></i>
</button> </button>
@ -59,7 +59,7 @@
<div class="col cell-input"> <div class="col cell-input">
<input readonly class="form-control" [attr.value]="client.secret" #inputSecret /> <input readonly class="form-control" [attr.value]="client.secret" #inputSecret />
</div> </div>
<div class="col-auto cell-actions"> <div class="col-auto cell-actions no-padding">
<button type="button" class="btn btn-text" [sqxCopy]="inputSecret"> <button type="button" class="btn btn-text" [sqxCopy]="inputSecret">
<i class="icon-copy"></i> <i class="icon-copy"></i>
</button> </button>

5
src/Squidex/app/features/settings/pages/clients/client.component.scss

@ -59,9 +59,12 @@ $color-editor: #eceeef;
} }
} }
.no-padding {
padding: 0;
}
.cell-actions { .cell-actions {
width: 3.2rem; width: 3.2rem;
padding: 0;
} }
.cell-input { .cell-input {

Loading…
Cancel
Save