File tree Expand file tree Collapse file tree 5 files changed +4
-23
lines changed
Expand file tree Collapse file tree 5 files changed +4
-23
lines changed Original file line number Diff line number Diff line change @@ -235,14 +235,6 @@ export default function EditorTabs({
235235 } }
236236 enabled = { value . length <= 4 && ! id }
237237 />
238- { ! pid ? (
239- < div className = { styles . addAttachmentIconContainer } >
240- < Button >
241- < InsertPhotoIcon className = { styles . addAttachmentIcon } />
242- </ Button >
243- < span className = { styles . addAttachmentsText } > Add Images</ span >
244- </ div >
245- ) : null }
246238 </ div >
247239
248240 { value . map ( ( v , i , arr ) => (
Original file line number Diff line number Diff line change @@ -52,7 +52,6 @@ export default function ExpiryModal({
5252 </ Modal . Header >
5353 < Modal . Body >
5454 < Form
55- inline
5655 style = { {
5756 justifyContent : "center" ,
5857 } }
@@ -70,7 +69,6 @@ export default function ExpiryModal({
7069 id = { `expiry-${ optName } ` }
7170 className = "my-1 mr-sm-2"
7271 as = { "select" }
73- custom
7472 onChange = { ( e ) => {
7573 const oldExpiry = expiryValue ;
7674 oldExpiry [ index ] = parseInt ( e . target . value ) ;
Original file line number Diff line number Diff line change @@ -24,14 +24,14 @@ export default function PasswordInput({
2424 onChange = { ( event ) => {
2525 onChange ( event . currentTarget . value ) ;
2626 } }
27- onKeyDown = { ( e : React . KeyboardEvent < HTMLInputElement > ) => {
27+ onKeyDown = { ( e ) => {
2828 if ( e . key === "Enter" ) {
2929 e . preventDefault ( ) ;
3030 onSubmit ( value ) ;
3131 }
3232 } }
3333 />
34- < InputGroup . Append >
34+ < InputGroup . Text >
3535 < span
3636 className = {
3737 passwordHide
@@ -42,7 +42,7 @@ export default function PasswordInput({
4242 >
4343 { passwordHide ? < VisibilityIcon /> : < VisibilityOffIcon /> }
4444 </ span >
45- </ InputGroup . Append >
45+ </ InputGroup . Text >
4646 </ InputGroup >
4747 ) ;
4848}
Original file line number Diff line number Diff line change @@ -31,7 +31,7 @@ export default function SetPasswordModal({ onHide }: { onHide: () => void }) {
3131 show = { true }
3232 onHide = { onHide }
3333 aria-labelledby = "contained-modal-title-vcenter"
34- centered
34+ centered = { true }
3535 className = { styles . passwordModal }
3636 >
3737 < Modal . Header className = { styles . passwordModalHeader } >
@@ -41,7 +41,6 @@ export default function SetPasswordModal({ onHide }: { onHide: () => void }) {
4141 </ Modal . Header >
4242 < Modal . Body >
4343 < Form
44- inline
4544 style = { {
4645 justifyContent : "flex-start" ,
4746 display : "flex" ,
Original file line number Diff line number Diff line change 99 opacity : 80% ;
1010 cursor : pointer;
1111 display : flex;
12- border-right : solid 1px # ced4da ;
13- border-top : solid 1px # ced4da ;
14- border-bottom : solid 1px # ced4da ;
15- border-radius : 0 5px 5px 0 ;
1612 padding : 6px ;
1713}
1814
2218 opacity : 80% ;
2319 cursor : pointer;
2420 display : flex;
25- border-right : solid 1px # ced4da ;
26- border-top : solid 1px # ced4da ;
27- border-bottom : solid 1px # ced4da ;
28- border-radius : 0 5px 5px 0 ;
2921 padding : 6px ;
3022}
You can’t perform that action at this time.
0 commit comments