-
Notifications
You must be signed in to change notification settings - Fork 823
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Issue/7219-Signature-Pad-is-not-Responsive-on-Mobile-Screens (#7284)
* #7219 Signature Pad is not Responsive on Mobile Screens Fixes #7219 * #7219 - add stretch option * #7219 Signature Pad is not Responsive on Mobile Screens Fixes #7219 * #7219 Signature Pad is not Responsive on Mobile Screens Fixes #7219 * #7219 - fixing tests * #7219 - fixed tests * #7219 - fixed renderedWidth * Update Signaturepad.vue * #7219 Signature Pad is not Responsive on Mobile Screens - change styles and fix clear Fixes #7219 * Add descriptions * #7219 Signature Pad is not Responsive on Mobile Screens - fixed mobile Fixes #7219 --------- Co-authored-by: RomanTsukanov <[email protected]>
- Loading branch information
1 parent
05d3081
commit 4bcf7b2
Showing
19 changed files
with
287 additions
and
71 deletions.
There are no files selected for viewing
4 changes: 2 additions & 2 deletions
4
packages/survey-angular-ui/src/questions/signature.component.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -25,7 +25,6 @@ | |
} | ||
} | ||
|
||
.sd-signaturepad__canvas, | ||
.sd-signaturepad__background-image { | ||
position: absolute; | ||
top: 0; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
<div class="sjs_sp_container sv_q_signaturepad" style="width:100%;"> | ||
<div class="sjs_sp_placeholder"> | ||
<span class="sv-string-viewer">Sign here</span> | ||
</div> | ||
<div> | ||
<img class="sjs_sp__background-image" src="https://surveyjs.io/Content/Images/examples/image-picker/lion.jpg" style="width:100%;"> | ||
<canvas class="sjs_sp_canvas" height="200" style="user-select:none; width:100%;" tabindex="0" width="300"> | ||
</canvas> | ||
</div> | ||
<div class="sjs_sp_controls"> | ||
<button class="sjs_sp_clear" title="Clear" type="button"> | ||
<span>✖</span> | ||
</button> | ||
</div> | ||
</div> |
10 changes: 6 additions & 4 deletions
10
tests/markup/snapshots/signaturepad-with-backgroundImage.snap.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.