fix: content block padding error. (halo-dev/console#254)

pull/3445/head
Ryan Wang 2020-09-25 09:24:48 +08:00 committed by GitHub
parent 670c75815b
commit 75cd1476c8
3 changed files with 31 additions and 1 deletions

View File

@ -74,17 +74,45 @@ export default {
<style lang="less" scoped> <style lang="less" scoped>
.page-header { .page-header {
background: #fff; background: #fff;
padding: 0 24px 0;
border-bottom: 1px solid #e8e8e8; border-bottom: 1px solid #e8e8e8;
.ant-page-header { .ant-page-header {
padding: 16px 0px; padding: 16px 0px;
} }
margin: 0 0 24px 0;
} }
.mobile .page-header, .mobile .page-header,
.tablet .page-header { .tablet .page-header {
padding: 0 !important;
.ant-page-header { .ant-page-header {
padding: 16px; padding: 16px;
} }
} }
.content {
margin: 24px 24px 0;
.link {
margin-top: 16px;
&:not(:empty) {
margin-bottom: 16px;
}
a {
margin-right: 32px;
height: 24px;
line-height: 24px;
display: inline-block;
i {
font-size: 24px;
margin-right: 8px;
vertical-align: middle;
}
span {
height: 24px;
line-height: 24px;
display: inline-block;
vertical-align: middle;
}
}
}
}
</style> </style>

View File

@ -238,6 +238,7 @@
</a-form-model-item> </a-form-model-item>
<a-form-model-item v-show="installModal.remote.byBranchOrRelease ==='branch'"> <a-form-model-item v-show="installModal.remote.byBranchOrRelease ==='branch'">
<ReactiveButton <ReactiveButton
:disabled="!installModal.remote.selectedBranch"
type="primary" type="primary"
@click="handleBranchPulling" @click="handleBranchPulling"
@callback="handleBranchPulledCallback" @callback="handleBranchPulledCallback"

View File

@ -4,6 +4,7 @@
<a-button <a-button
type="link" type="link"
@click="advancedOptions = !advancedOptions" @click="advancedOptions = !advancedOptions"
style="padding:0"
> >
切换到{{ advancedOptions?'基础选项':'高级选项' }} 切换到{{ advancedOptions?'基础选项':'高级选项' }}
</a-button> </a-button>