Skip to content

Commit

Permalink
style(modal): add footer border
Browse files Browse the repository at this point in the history
  • Loading branch information
scarqin committed Feb 15, 2023
1 parent 1f51e4b commit 1b16017
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 5 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -15,9 +15,7 @@ import { ElectronService, WebService } from '../../core/services';
<eo-ng-dropdown-menu #download="nzDropdownMenu">
<ul nz-menu>
<ng-container *ngFor="let item of resourceInfo; let index = index">
<a [href]="item.link" traceID="download_client" [traceParams]="{ client_system: item.name }" trace nz-menu-item>{{
item.name
}}</a>
<a [href]="item.link" traceID="download_client" [traceParams]="{ client_system: item.id }" trace nz-menu-item>{{ item.name }}</a>
</ng-container>
</ul>
</eo-ng-dropdown-menu></ng-container
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ import { WebService } from 'eo/workbench/browser/src/app/core/services';
<span i18n>Don't have Postcat Client?</span>
<eo-ng-dropdown class="ml-5" btnType="primary" title="Download" [menus]="resourceInfo" [itemTmp]="downloadMenu"> </eo-ng-dropdown>
<ng-template #downloadMenu let-item="item">
<a [href]="item.link" traceID="download_client" [traceParams]="{ client_system: item.name }" trace>{{ item.name }}</a>
<a [href]="item.link" traceID="download_client" [traceParams]="{ client_system: item.id }" trace>{{ item.name }}</a>
</ng-template>
`
})
Expand Down
6 changes: 5 additions & 1 deletion src/workbench/browser/src/styles/antd.less
Original file line number Diff line number Diff line change
Expand Up @@ -131,8 +131,12 @@
margin-right: 0;
}
}
.ant-modal-footer {
.ant-modal-content .ant-modal-footer {
padding: 16px 24px;
border-top-color: var(--system-border-color);
}
.ant-dropdown-menu-item-divider {
background-color: var(--system-border-color);
}
p {
margin-bottom: 0;
Expand Down

0 comments on commit 1b16017

Please sign in to comment.