nagasurendra commited on
Commit
147119c
·
verified ·
1 Parent(s): 965802c

Update templates/cart.html

Browse files
Files changed (1) hide show
  1. templates/cart.html +21 -11
templates/cart.html CHANGED
@@ -136,25 +136,35 @@
136
  align-items: center;
137
  justify-content: space-between;
138
  padding: 10px 0;
 
139
  }
 
140
  .suggestion-item img {
141
  width: 50px;
142
  height: 50px;
143
  object-fit: cover;
144
  border-radius: 5px;
 
 
 
 
 
 
 
145
  }
 
146
  .suggestion-item button {
147
- padding: 5px 15px;
148
- font-size: 0.9rem;
149
- border-radius: 5px; /* Set border radius to 5px */
150
- border: 2px solid #0FAA39; /* Set border color to green */
151
- color: #0FAA39; /* Text color is green */
152
- background-color: #fff;
153
- font-weight: 600;
154
- height: 44px;
155
- cursor: pointer;
156
- transition: background-color 0.3s, color 0.3s, border-color 0.3s;
157
- }
158
 
159
  .suggestion-item button:hover {
160
  background-color: #0FAA39; /* Change background to green on hover */
 
136
  align-items: center;
137
  justify-content: space-between;
138
  padding: 10px 0;
139
+ margin-bottom: 10px; /* Add space between items if needed */
140
  }
141
+
142
  .suggestion-item img {
143
  width: 50px;
144
  height: 50px;
145
  object-fit: cover;
146
  border-radius: 5px;
147
+ margin-right: 10px; /* Adjust margin to add spacing between image and text */
148
+ }
149
+
150
+ .suggestion-item div {
151
+ display: flex;
152
+ flex-direction: column;
153
+ justify-content: center;
154
  }
155
+
156
  .suggestion-item button {
157
+ padding: 5px 15px;
158
+ font-size: 0.9rem;
159
+ border-radius: 5px;
160
+ border: 2px solid #0FAA39;
161
+ color: #0FAA39;
162
+ background-color: #fff;
163
+ font-weight: 600;
164
+ height: 44px;
165
+ cursor: pointer;
166
+ transition: background-color 0.3s, color 0.3s, border-color 0.3s;
167
+ }
168
 
169
  .suggestion-item button:hover {
170
  background-color: #0FAA39; /* Change background to green on hover */