Skip to content

Commit

Permalink
fix: vertically center save button
Browse files Browse the repository at this point in the history
  • Loading branch information
buqiyuan committed Aug 15, 2022
1 parent cbf70fd commit 63c104b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
Original file line number Diff line number Diff line change
@@ -1,8 +1,7 @@
<eo-message></eo-message>
<div class="!pt-0 p15">
<div class="sticky top-0 z-10 pt-2.5 bg-white">
<div class="top-save-bar">
<button type="submit" nz-button nztype="primary" class="eo_theme_btn_success" (click)="saveApi()" i18n>Save</button>
<nz-divider></nz-divider>
</div>
<form nz-form [formGroup]="validateForm" [nzLayout]="'vertical'">
<nz-form-label nzFor="uri">API Path</nz-form-label>
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -13,4 +13,8 @@ eo-api-edit-query,
eo-api-edit-rest {
display: block;
}
.top-save-bar {
@apply sticky top-0 z-10 py-2.5 bg-white;
border-bottom: 1px solid var(--DIVIDER);
}

0 comments on commit 63c104b

Please sign in to comment.