Skip to content

A platform for community discussion. Free, open, simple.

UX: fix post ownership change modal on Android (#42031)

Kris4fc73562f462
diff --git a/app/assets/stylesheets/common/modal/modal-overrides.scss b/app/assets/stylesheets/common/modal/modal-overrides.scss
index a0bac82e9a3..78bea8a9e25 100644
--- a/app/assets/stylesheets/common/modal/modal-overrides.scss
+++ b/app/assets/stylesheets/common/modal/modal-overrides.scss
@@ -601,6 +601,18 @@
}
}
+.change-ownership-modal {
+ .d-modal__body {
+ display: flex;
+ flex-direction: column;
+ gap: var(--space-2);
+
+ .select-kit-header--filter {
+ width: 100%;
+ }
+ }
+}
+
.d-modal.admin-user-upcoming-changes-modal {
.d-modal {
&__container {
diff --git a/frontend/discourse/app/components/modal/change-owner.gjs b/frontend/discourse/app/components/modal/change-owner.gjs
index 232d67ba1ba..a0b67e6d00c 100644
--- a/frontend/discourse/app/components/modal/change-owner.gjs
+++ b/frontend/discourse/app/components/modal/change-owner.gjs
@@ -94,6 +94,8 @@ export default class ChangeOwnerModal extends Component {
@options={{hash
maximum=1
filterPlaceholder="topic.change_owner.placeholder"
+ filterIcon="magnifying-glass"
+ useHeaderFilter=true
}}
/>
</:body>