Merge pull request 'fix: clicking on marked fileds is losing input text/squiggle, squiggle field is mobile friendly' (#262) from issue-256 into staging
All checks were successful
Release to Staging / build_and_release (push) Successful in 1m39s

Reviewed-on: #262
Reviewed-by: enes <enes@noreply.git.nostrdev.com>
This commit is contained in:
Stixx 2024-12-02 09:56:35 +00:00
commit 8ece8283e1
3 changed files with 4 additions and 4 deletions

View File

@ -122,7 +122,7 @@
align-items: center;
grid-gap: 15px;
box-shadow: 0 -2px 4px 0 rgb(0, 0, 0, 0.1);
max-width: 750px;
max-width: 450px;
&.expanded {
display: flex;

View File

@ -70,8 +70,8 @@ const PdfMarking = (props: PdfMarkingProps) => {
const handleMarkClick = (id: number) => {
const nextMark = currentUserMarks.find((mark) => mark.mark.id === id)
setSelectedMark(nextMark!)
setSelectedMarkValue(nextMark?.mark.value ?? EMPTY)
if (nextMark) handleCurrentUserMarkChange(nextMark)
}
const handleCurrentUserMarkChange = (mark: CurrentUserMark) => {

View File

@ -119,6 +119,6 @@ export const SIGNATURE_PAD_OPTIONS = {
} as const
export const SIGNATURE_PAD_SIZE = {
width: 600,
width: 300,
height: 300
}