Skip to content

Commit fe40115

Browse files
committed
adjust styling for close icon
1 parent fc573be commit fe40115

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

src/assets/barcodeReader.css

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,6 +46,7 @@
4646
aspect-ratio: 1/1;
4747
object-fit: cover;
4848
display: block;
49+
pointer-events: none;
4950
}
5051

5152
& .formkit-barcode-icon {
@@ -66,7 +67,7 @@
6667
right: 0.5rem;
6768
width: 1.5em;
6869
height: 1.5em;
69-
z-index: 2;
70+
z-index: 99;
7071

7172
& svg {
7273
max-height: 1em;
@@ -87,6 +88,11 @@
8788
pointer-events: none;
8889
}
8990

91+
& .formkit-scanner-container {
92+
position: relative;
93+
z-index: 2;
94+
}
95+
9096
& .formkit-overlay-decorators {
9197
position: absolute;
9298
top: 0;

0 commit comments

Comments
 (0)