Skip to content

Commit

Permalink
Merge branch 'dev/1.10.2' into enterprise
Browse files Browse the repository at this point in the history
  • Loading branch information
Kinplemelon committed Oct 29, 2024
2 parents f765e58 + 36edc54 commit 88c36ba
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 2 deletions.
9 changes: 8 additions & 1 deletion src/views/Auth/AuthnCreate.vue
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,11 @@
:item="{ name: $t('Auth.createAuth'), path: '/authentication' }"
v-if="!gateway"
/>
<el-card :shadow="!gateway ? 'always' : 'never'" class="app-card">
<el-card
class="app-card"
:class="{ 'no-border': !!gateway }"
:shadow="!gateway ? 'always' : 'never'"
>
<guide-bar
:guide-list="getGuideList()"
:active-guide-index-list="activeGuidesIndex"
Expand Down Expand Up @@ -459,6 +463,9 @@ const isAddedBadgeHidden = (value: AuthnMechanismType) => {

<style lang="scss">
@import './style/auth.scss';
.app-card.no-border {
border: none;
}
.no-database-placeholder {
color: var(--el-text-color-secondary);
}
Expand Down
1 change: 0 additions & 1 deletion src/views/Auth/style/auth.scss
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,6 @@
}
.create-form {
width: 75%;
margin-bottom: 24px;
.el-radio.is-bordered {
text-align: center;
&.mechanism {
Expand Down
3 changes: 3 additions & 0 deletions src/views/Gateway/components/auth.vue
Original file line number Diff line number Diff line change
Expand Up @@ -183,6 +183,9 @@ getAuthInfo()

<style lang="scss">
.gateway-auth-dialog {
.el-card.app-card {
margin-bottom: 0;
}
.el-dialog__body {
padding-bottom: 12px;
.authn-create {
Expand Down

0 comments on commit 88c36ba

Please sign in to comment.