Skip to content

Commit 3b25380

Browse files
committed
change addon to startAddon on presence dot
1 parent 71445cb commit 3b25380

2 files changed

Lines changed: 2 additions & 18 deletions

File tree

apps/meteor/client/navbar/NavBarSettingsToolbar/UserMenu/EditStatusModal.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -147,15 +147,7 @@ const EditStatusModal = ({ onClose }: EditStatusModalProps): ReactElement => {
147147
disabled={!allowUserStatusMessageChange}
148148
flexGrow={1}
149149
placeholder={defaultStatusLabel}
150-
className={css`
151-
align-items: center;
152-
153-
& > .rcx-input-box__addon {
154-
order: -1;
155-
margin-inline-end: 0.5rem;
156-
}
157-
`}
158-
addon={
150+
startAddon={
159151
<Controller
160152
control={control}
161153
name='statusType'

apps/meteor/client/views/account/profile/AccountProfileForm.tsx

Lines changed: 1 addition & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -257,15 +257,7 @@ const AccountProfileForm = (props: AllHTMLAttributes<HTMLFormElement>) => {
257257
disabled={!allowUserStatusMessageChange}
258258
flexGrow={1}
259259
error={errors.statusText?.message}
260-
className={css`
261-
align-items: center;
262-
263-
& > .rcx-input-box__addon {
264-
order: -1;
265-
margin-inline-end: 0.5rem;
266-
}
267-
`}
268-
addon={
260+
startAddon={
269261
<Controller
270262
control={control}
271263
name='statusType'

0 commit comments

Comments
 (0)