From 8477e18551e1e4f472db22e70a973bf6a520af43 Mon Sep 17 00:00:00 2001 From: Reza_ashrafi Date: Thu, 2 Jun 2022 23:14:41 +0430 Subject: [PATCH] update 6 files --- src/views/Product/AddToCart/index.js | 63 ++++++++++++++++++++++----- src/views/Product/BreadCrumb/index.js | 5 ++- src/views/Product/Comment/index.js | 2 +- src/views/Product/Gallery/index.js | 17 ++++++-- src/views/Product/Info/index.js | 6 ++- src/views/Product/index.js | 18 ++++++-- 6 files changed, 90 insertions(+), 21 deletions(-) diff --git a/src/views/Product/AddToCart/index.js b/src/views/Product/AddToCart/index.js index 46d6527..024f001 100644 --- a/src/views/Product/AddToCart/index.js +++ b/src/views/Product/AddToCart/index.js @@ -53,9 +53,23 @@ function AddToCart(props) { return ( <> {window.innerWidth > 1000 ? ( -
-
-
+
+
+
{window.t("مشاهده نمونه کتاب")} @@ -103,14 +117,18 @@ function AddToCart(props) { // window.location.pathname.length // )}` // }`} - style={{ fontSize: fontSize.desktop.button, opacity: 0.3 }} + style={{ + fontSize: fontSize.desktop.button, + opacity: 0.3, + width: "100%", + }} className="product-addtocart__box--digitalButton" > {page === "digital" ? "کتاب چاپی" : window.t("نسخه الکترونیک")} -
- +
+
-
- +
+
-