summaryrefslogtreecommitdiff
path: root/src-migrate/modules/cart/styles/item-promo.module.css
blob: a8a826916020af3702c9bf9dc3d881ff85c273ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
.wrapper {
    @apply md:ml-16 ml-8 mt-4 flex;
}

.imageWrapper {
    @apply md:h-24 md:w-24 md:min-w-[96px]
    h-20 w-20 min-w-[80px] 
    border border-gray-300 rounded 
    p-2.5;
}

.image {
    @apply w-full h-full object-contain;
}

.details {
    @apply ml-4 w-full flex flex-col gap-y-1;
}

.name {
    @apply font-medium;
    display: -webkit-box;
    -webkit-line-clamp: 2; /* jumlah baris */
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.code,
.weightLabel {
    @apply text-gray-600;
}

.quantity {
    @apply w-12 min-w-[42px] py-2.5 bg-gray-100 border border-gray-300 h-fit my-auto rounded-md ml-auto font-medium text-center;
}