diff --git a/packages/survey-angular-ui/src/questions/signature.component.html b/packages/survey-angular-ui/src/questions/signature.component.html
index 46a0a59a29..975bad34b2 100644
--- a/packages/survey-angular-ui/src/questions/signature.component.html
+++ b/packages/survey-angular-ui/src/questions/signature.component.html
@@ -1,9 +1,9 @@
+[style.width]="model.renderedCanvasWidth" #contentElement>
-
+
diff --git a/packages/survey-vue3-ui/src/Signaturepad.vue b/packages/survey-vue3-ui/src/Signaturepad.vue
index a368071203..69db109fb3 100644
--- a/packages/survey-vue3-ui/src/Signaturepad.vue
+++ b/packages/survey-vue3-ui/src/Signaturepad.vue
@@ -3,8 +3,7 @@
:class="question.cssClasses.root"
ref="root"
v-bind:style="{
- height: question.signatureHeight + 'px',
- width: question.signatureWidth + 'px',
+ width: question.renderedCanvasWidth,
}"
>
diff --git a/src/defaultV2-theme/blocks/sd-signaturepad.scss b/src/defaultV2-theme/blocks/sd-signaturepad.scss
index 18ec6b3ce2..83e9c9d739 100644
--- a/src/defaultV2-theme/blocks/sd-signaturepad.scss
+++ b/src/defaultV2-theme/blocks/sd-signaturepad.scss
@@ -25,7 +25,6 @@
}
}
-.sd-signaturepad__canvas,
.sd-signaturepad__background-image {
position: absolute;
top: 0;
diff --git a/src/knockout/templates/question-signaturepad.html b/src/knockout/templates/question-signaturepad.html
index 884d66f932..f07222be62 100644
--- a/src/knockout/templates/question-signaturepad.html
+++ b/src/knockout/templates/question-signaturepad.html
@@ -1,14 +1,14 @@