diff --git a/src/SignaturePadDirective.js b/src/SignaturePadDirective.js
index c44d56e..4a590b5 100644
--- a/src/SignaturePadDirective.js
+++ b/src/SignaturePadDirective.js
@@ -43,8 +43,8 @@ angular.module("ngSignaturePad").directive('signaturePad', function ($window) {
replace: true,
template: '
' +
'
' +
- '' +
- '' +
+ '' +
+ '' +
'
' +
'
' +
'' +
@@ -84,4 +84,4 @@ angular.module("ngSignaturePad").directive('signaturePad', function ($window) {
}
}
};
-});
\ No newline at end of file
+});
diff --git a/src/signaturePad.css b/src/signaturePad.css
index a73a8d8..1363ee0 100644
--- a/src/signaturePad.css
+++ b/src/signaturePad.css
@@ -1,5 +1,5 @@
.signature {
- position: fixed;
+ position: relative;
left: 10px;
border: 1px solid #e8e8e8;
background-color: #fff;
@@ -13,12 +13,11 @@
.signature-background {
background-color: #D3D7DC;
- position: fixed;
+ position: relative;
top: 0;
left: 0;
margin: 0;
padding: 0;
- z-index: 1001;
width: 100%;
height: 100%;
}