Merge pull request #31735 from overleaf/mj-cm6-input-border-radius

[web] Reduce border radius of search and go-to-line forms

GitOrigin-RevId: 041d8587e0e1d10fcc2e8daf943e6bc0383662c2
This commit is contained in:
Mathias Jakobsen
2026-02-23 10:27:01 +00:00
committed by Copybot
parent 328546b07d
commit 45fb992c9f
2 changed files with 3 additions and 3 deletions

View File

@@ -41,7 +41,7 @@ const gotoLineTheme = EditorView.baseTheme({
backgroundColor: 'var(--bg-primary-themed)',
border: '1px solid var(--border-primary-themed)',
backgroundImage: 'none',
borderRadius: 'var(--border-radius-full)',
borderRadius: 'var(--border-radius-base)',
boxShadow: 'inset 0 1px 1px rgb(0 0 0 / 8%)',
transition:
'border-color ease-in-out .15s, box-shadow ease-in-out .15s',

View File

@@ -342,7 +342,7 @@ const searchFormTheme = EditorView.theme({
'.ol-cm-search-input-group': {
backgroundColor: 'var(--bg-primary-themed)',
border: '1px solid var(--border-primary-themed)',
borderRadius: '20px',
borderRadius: 'var(--border-radius-base)',
width: '100%',
maxWidth: '50em',
display: 'inline-flex',
@@ -354,7 +354,7 @@ const searchFormTheme = EditorView.theme({
'& input[type="text"]': {
background: 'none',
boxShadow: 'none',
borderRadius: '20px',
borderRadius: 'var(--border-radius-base)',
},
'& input[type="text"]:focus': {
outline: 'none',