summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-04-10 10:47:40 +0700
committerHATEC\SPVDEV001 <tri.susilo@altama.co.id>2023-04-10 10:47:40 +0700
commit25f3dedfd48186e62a6f99a1560993ea1d202fb9 (patch)
tree0d09fe5b395d86a88781aed61a3ac4880a6f5d98 /src/lib
parent219e44b521778317a23703b489ddd3c57eddeb2f (diff)
add sticky top di container ringkasan pesanan
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/checkout/components/Checkout.jsx2
-rw-r--r--src/lib/quotation/components/Quotation.jsx2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/checkout/components/Checkout.jsx b/src/lib/checkout/components/Checkout.jsx
index 17ac20e1..fb56b756 100644
--- a/src/lib/checkout/components/Checkout.jsx
+++ b/src/lib/checkout/components/Checkout.jsx
@@ -325,7 +325,7 @@ const Checkout = () => {
</div>
<div className='w-1/4 pl-4'>
- <div className='border border-gray_r-6 bg-white rounded p-4'>
+ <div className='sticky top-48 border border-gray_r-6 bg-white rounded p-4'>
<div className='flex justify-between items-center'>
<div className='font-medium'>Ringkasan Pesanan</div>
<div className='text-gray_r-11 text-caption-1'>{products?.length} Barang</div>
diff --git a/src/lib/quotation/components/Quotation.jsx b/src/lib/quotation/components/Quotation.jsx
index e233efd1..a68889f5 100644
--- a/src/lib/quotation/components/Quotation.jsx
+++ b/src/lib/quotation/components/Quotation.jsx
@@ -237,7 +237,7 @@ const Quotation = () => {
</div>
<div className='w-1/4 pl-4'>
- <div className='border border-gray_r-6 bg-white rounded p-4'>
+ <div className='sticky top-48 border border-gray_r-6 bg-white rounded p-4'>
<div className='flex justify-between items-center'>
<div className='font-medium'>Ringkasan Pesanan</div>
<div className='text-gray_r-11 text-caption-1'>{products?.length} Barang</div>