Skip to content

Commit af043ef

Browse files
committed
Add additional CSS resets to common elements
1 parent 7e6aee7 commit af043ef

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

src/lib/CompareImage.svelte

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -80,6 +80,7 @@
8080
display: block;
8181
height: auto;
8282
width: 100%;
83+
margin: 0;
8384
}
8485
8586
.left-img {
@@ -144,6 +145,8 @@
144145
cursor: col-resize;
145146
margin: 0 calc(var(--handle-size, 2.5rem) / -2);
146147
width: calc(100% + var(--handle-size, 2.5rem));
148+
padding: 0;
149+
border-radius: 0;
147150
appearance: none;
148151
-webkit-appearance: none;
149152
background: none;

0 commit comments

Comments
 (0)