Skip to content

Commit 92ea654

Browse files
Prevent double border on last item
1 parent bcec239 commit 92ea654

File tree

1 file changed

+8
-5
lines changed
  • src/Umbraco.Commerce.Cart/Client/src/styles

1 file changed

+8
-5
lines changed

src/Umbraco.Commerce.Cart/Client/src/styles/styles.css

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,8 @@
44
--ucc-primary-color: #155dfc;
55
--ucc-primary-color-light: #51a2ff;
66
--ucc-primary-color-dark: #193cb8;
7-
--ucc-danger-color: #9f0712;
7+
8+
--ucc-danger-text-color: #9f0712;
89
--ucc-danger-background-color: #ffc9c9;
910

1011
/* Font */
@@ -32,7 +33,8 @@
3233
--ucc-button-background-color-disabled: #d1d5dc;
3334
--ucc-button-text-color-disabled: #fff;
3435

35-
--ucc-cart-width: 550px;
36+
--ucc-modal-width: 550px;
37+
--ucc-modal-background-color: #fff;
3638
}
3739

3840
.ucc-modal-container {
@@ -60,7 +62,7 @@
6062
width: 100%;
6163
height: 100%;
6264
flex-direction: column;
63-
background-color: white;
65+
background-color: var(--ucc-modal-background-color);
6466
transform: translateX(100%);
6567
transition: transform 0.2s;
6668
}
@@ -70,7 +72,7 @@
7072

7173
@media (min-width: 768px) {
7274
.ucc-modal {
73-
width: var(--ucc-cart-width);
75+
width: var(--ucc-modal-width);
7476
border-left: solid 1px var(--ucc-border-color);
7577
}
7678
}
@@ -104,6 +106,7 @@
104106
.ucc-modal-body {
105107
flex: 1;
106108
overflow-y: auto;
109+
margin-bottom: -1px;
107110
}
108111

109112
.ucc-modal-footer {
@@ -171,7 +174,7 @@
171174
}
172175

173176
.ucc-cart-item__remove:hover {
174-
color: var(--ucc-danger-color);
177+
color: var(--ucc-danger-text-color);
175178
background-color: var(--ucc-danger-background-color);
176179
}
177180

0 commit comments

Comments
 (0)