Skip to content

Commit e612930

Browse files
authored
Set input's font size to 14px and textarea's line height to 16px on (#1963)
Windows
1 parent a5c9696 commit e612930

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

special-pages/pages/new-tab/app/omnibar/components/AiChatForm.module.css

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,7 @@
1111
border: none;
1212
box-sizing: content-box;
1313
color: var(--ntp-text-primary);
14+
line-height: 16px;
1415
max-height: 10lh;
1516
padding: var(--sp-3) var(--sp-3) 0;
1617
resize: none;

special-pages/pages/new-tab/app/omnibar/components/SearchForm.js

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,7 @@ export function SearchForm({ autoFocus, onOpenSuggestion, onSubmit, onSubmitChat
6161
const inputRef = useCompletionInput(inputBase, inputCompletion);
6262
const inputSuffix = getInputSuffix(term, selectedSuggestion);
6363
const inputSuffixText = useSuffixText(inputSuffix);
64-
const inputFont = platformName === 'windows' ? '400 13px / 16px system-ui' : '500 13px / 16px system-ui';
64+
const inputFont = platformName === 'windows' ? '400 14px / 16px system-ui' : '500 13px / 16px system-ui';
6565
const inputSuffixWidth = useMemo(() => measureText(inputSuffixText, inputFont), [inputSuffixText, inputFont]);
6666

6767
useEffect(() => {

0 commit comments

Comments
 (0)