Skip to content

Commit

Permalink
Fix textarea scroll
Browse files Browse the repository at this point in the history
  • Loading branch information
Rustem Mussabekov committed Feb 24, 2025
1 parent 2ac828d commit a929114
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
2 changes: 1 addition & 1 deletion src/co/bookmarks/add/fallback/link.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ function AddForm({ spaceId, onEdit, pin, onClose }) {
autoComplete='off'
spellCheck='false'
autoFocus={true}
maxRows={5}
maxRows={10}
value={text}
placeholder='https://'
onChange={onChangeInput} />
Expand Down
1 change: 0 additions & 1 deletion src/co/common/form/text.module.styl
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,6 @@
}

&[data-max-rows] {
overflow: hidden !important
max-height: calc( var(--primary-font-size) * var(--primary-line-height) * var(--max-rows) )
}

Expand Down

0 comments on commit a929114

Please sign in to comment.