File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -120,11 +120,11 @@ function selectPasswordField() {
120120<template >
121121 <NcDialog
122122 :name =" t (' Authentication required' )"
123- content-classes="vue-password-confirmation "
123+ : content-classes =" $style . passwordDialog "
124124 @update :open =" close " >
125125 <!-- Dialog content -->
126126 <p >{{ t('This action needs authentication, please confirm it by entering your password.') }}</p >
127- <form class =" vue-password-confirmation__form " @submit.prevent =" confirm" >
127+ <form : class =" $style.passwordDialogForm " @submit.prevent =" confirm" >
128128 <NcPasswordField
129129 ref="field"
130130 v-model =" password "
@@ -133,7 +133,7 @@ function selectPasswordField() {
133133 :error =" hasError !== false "
134134 required />
135135 <NcButton
136- class="vue-password-confirmation__submit "
136+ : class =" $style . passwordDialogSubmit "
137137 variant="primary"
138138 type="submit"
139139 :disabled =" ! password || loading " >
@@ -146,24 +146,24 @@ function selectPasswordField() {
146146 </NcDialog >
147147</template >
148148
149- <style lang="scss" >
150- .vue-password-confirmation {
149+ <style module >
150+ .passwordDialog {
151151 display : flex ;
152152 flex-direction : column ;
153153 margin-inline : 6px ;
154154 margin-block-end : 6px ;
155155 gap : 10px 0 ;
156+ }
156157
157- & __form {
158- display : flex ;
159- flex-direction : column ;
160- gap : 8px 0 ;
161- // allow focus visible outlines
162- padding : 2px ;
163- }
158+ .passwordDialogForm {
159+ display : flex ;
160+ flex-direction : column ;
161+ gap : 8px 0 ;
162+ /* allow focus visible outlines */
163+ padding : 2px ;
164+ }
164165
165- & __submit {
166- align-self : end ;
167- }
166+ .passwordDialogSubmit {
167+ align-self : end ;
168168}
169169 </style >
You can’t perform that action at this time.
0 commit comments