refine "password" layout for both cases
This commit is contained in:
@@ -49,14 +49,23 @@
|
|||||||
</div>
|
</div>
|
||||||
<div v-show="!isSSO" class="input-row w-full flex py-2 mb-4 items-center
|
<div v-show="!isSSO" class="input-row w-full flex py-2 mb-4 items-center
|
||||||
justify-between">
|
justify-between">
|
||||||
<div class="field-label text-sm flex items-start font-medium justify-end"
|
<div class="field-label text-sm flex flex-col items-start font-medium justify-end"
|
||||||
:class="{
|
:class="{
|
||||||
'h-[100px]': whichCurrentModal !== MODAL_CREATE_NEW,
|
'h-[100px]': whichCurrentModal !== MODAL_CREATE_NEW,
|
||||||
}"
|
}"
|
||||||
>
|
> <!-- 這裡會根據究竟是create彈窗還是edit彈窗來改變Password的排版 -->
|
||||||
<span class="align-right-span flex h-full w-[122px] justify-end text-top">
|
<span class="align-right-span flex h-full w-[122px] justify-end"
|
||||||
|
:class="{
|
||||||
|
'pt-[12px]': whichCurrentModal !== MODAL_CREATE_NEW,
|
||||||
|
'text-top': whichCurrentModal !== MODAL_CREATE_NEW,
|
||||||
|
'h-[40px]': whichCurrentModal === MODAL_CREATE_NEW,
|
||||||
|
'items-center': whichCurrentModal === MODAL_CREATE_NEW,
|
||||||
|
}">
|
||||||
{{ i18next.t("AcctMgmt.Password") }}
|
{{ i18next.t("AcctMgmt.Password") }}
|
||||||
</span>
|
</span>
|
||||||
|
<span v-if="whichCurrentModal === MODAL_CREATE_NEW" class="dummy-cell
|
||||||
|
flex w-[122px] h-[40px]">
|
||||||
|
</span>
|
||||||
</div>
|
</div>
|
||||||
<div class="reset-btn-and-input-pwd-and-error flex flex-col"
|
<div class="reset-btn-and-input-pwd-and-error flex flex-col"
|
||||||
:class="{'h-[100px]': whichCurrentModal !== MODAL_CREATE_NEW,}"
|
:class="{'h-[100px]': whichCurrentModal !== MODAL_CREATE_NEW,}"
|
||||||
|
|||||||
Reference in New Issue
Block a user