From 97d7a60f68ed087fb33e1d17c4b545c3dfe9a6cc Mon Sep 17 00:00:00 2001 From: Alf Eaton Date: Wed, 19 Feb 2025 09:31:59 +0000 Subject: [PATCH] Increase the maximum width of the search input (#23140) GitOrigin-RevId: 70619c42cbbb16047a929e773a30ba4c0b5cfa50 --- .../frontend/js/features/source-editor/extensions/search.ts | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/services/web/frontend/js/features/source-editor/extensions/search.ts b/services/web/frontend/js/features/source-editor/extensions/search.ts index 1e531b8a8f..b7b79d794d 100644 --- a/services/web/frontend/js/features/source-editor/extensions/search.ts +++ b/services/web/frontend/js/features/source-editor/extensions/search.ts @@ -314,6 +314,7 @@ const searchFormTheme = EditorView.theme({ gridTemplateColumns: 'auto auto', gridTemplateRows: 'auto auto', gap: 'var(--ol-cm-search-form-gap)', + flex: 1, }, '@container (max-width: 450px)': { '.ol-cm-search-controls': { @@ -335,7 +336,7 @@ const searchFormTheme = EditorView.theme({ borderRadius: '20px', background: 'white', width: '100%', - maxWidth: '25em', + maxWidth: '50em', display: 'inline-flex', alignItems: 'center', '& input[type="text"]': {